|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Count a element in a specific section
Hi everybody! I would like to know if it is possible to count a element in a specific section. Example : <ie> <breakdown> <ie> <name> <ie> <name> </ie> </ie> </breakdown> </ie> XSL : <xsl:template match="*/ie/name"> <div class="BodyText"> <xsl:value-of select="count(from-ancestors(IE in section Breakdown))"/> </div> </xsl:template> It is possible to have a statement to execute this : count(from-ancestors(IE in section Breakdown)). Thanks !! 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
|

Cart








