Subject: Count a element in a specific section From: Stephane St-Denis <Stephane.St-Denis@xxxxxx> Date: Thu, 09 Sep 1999 11:43:41 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
DOCTYPE and <xsl:preserve-space>, Earl Bingham | Thread | Re: Count a element in a specific s, zun |
RE: XSL and HTML Table, Ben Robb | Date | Re: XSL-FO tools/processors, Rob Brown |
Month |