|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: alphabetical listing
Hi Nicolas,
Could you not place the letters in a separate file too? <letters> <letter>a</letter> <letter>b</letter> <letter>c</letter> <letter>d</letter> ... </letters> Then access it in the document using the document() function? The code could the look like the following: <xsl:for-each select="$letters-in-external-file/letter"> <!-- Loops through letters --> <xsl:for-each select="item[starts-with(name,.)]"> <!-- Loops through items with specific letter --> <!-- Your code here --> </xsl:for-each> </xsl:for-each> Hope this is usable. Regards, Ragulf Pickaxe :) From: Nicolas Pillot <nicolas.pillot@xxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: alphabetical listing Date: Tue, 8 Jun 2004 22:36:25 -0400 _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








