[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: alternating bg colour in nested data
> > This is actually a good use for xsl:for-each -- > > <xsl:for-each select="ancestor::*"> > <xsl:text>.</xsl:text> > </xsl:for-each> > And in XPath 2.0 you can replace this with <xsl:value-of select="pad-string('.', count(ancestor::*))"/> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|