Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - Re: [xsl] centralised alphabetical order ... RE: [xsl] centralised alphabetical order ...To: Date: 4/1/2004 1:41:00 AM Hello,
When u said "You don't need to worry that the key is defined against every
possible
document; the document to be searched is determined when you call the key()
function.
" which key function did u mean?
At the moment
<xsl:key name="cat-by-firstocc" match="link" use="substring(title,1,1)" />
ths statement only seems to be matching key values to titles in the input
document (which doesnt contain anything as all the links are in seperate
documents within $nsindex)?
I wanted to match all the titles in all documents under nsindex using the
same xsl:key statement. For example, if i had 4 files with one title in each
which started with the letter A, i would want the statement <xsl:for-each
select="key('cat-by-firstocc', A)"> to go through all of those documents.
cheers
james
_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
