[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Nested <heading> levels inside <lev>
I was able to achieve what I needed with nested <heading> within <lev> by using <xsl:value-of select="count(ancestor::lev)"/> Input: ------ <lev> <heading>Level 1</heading> <lev> <heading>Level 2</heading> <lev> <heading>Level 3</heading> </lev> <heading>Level 2</heading> </lev> <heading>Level 1</heading> </lev> </lev> Output: ------- <pStyle:hd1>Level 1 <pStyle:hd1>Level 2 <pStyle:hd1>Level 3 <pStyle:hd1>Level 2 <pStyle:hd1>Level 1
|
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
|