[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Using <xsl:for-each> and position() to increase indent
Hi, I'm new to the list and fairly new to XSL. I am wanting to use the position() function to increase the indent in an <xsl:for-each> iteration by 3 spaces, using the following logic, but preferably without using a case statement: position() == 1 > generate "" position() == 2 > generate " " position() == 3 > generate " " position() == 4 > generate " " etc etc As a separate issue, when I use in my xsl template it seems to fail (the disappears). By googling I found a suggestion to use   instead. Is there a reason why is not working? Thanks very much, David Gadd
|
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
|