|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Count
Something like <xsl:number level="any" count="*"/> On Tue, 22 Feb 2005 11:23:04 -0800 (PST), Tham Tinh <khautinh@xxxxxxxxx> wrote: > I would like to count how many level each div tag has. > How do I do that please? I hope that the xml is > clear enough for the helps. > > I have the following xml structure: > > <html> > <div class="section1"> > <p class="msoheader" align="center">Test</p> > <p class="msoheader" align="center"></p> > <div header-level="1"><h1> > <span > list-number="yes">1.</span>Test.Something:</h1> > <div header-level="2"><h2> > <span list-number="yes">a. </span>Test</h2> > </div> > <div header-level="2"><h2> > <span list-number="yes">b. </span>Test</h2> > </div> > <div header-level="2"><h2> > <span list-number="yes">c. </span>Test</h2> > </div> > <div header-level="2"><h2> > <span list-number="yes">d. </span>test</h2> > </div> > </div> > <div class="section2"> > ... > ... > ... > </div> > </html> > > ===== > "It is essential to know that to be a happy person, a happy family, a happy society, it is very crucial to have a good heart, that is very crucial," > Dalai Lama > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 250MB free storage. Do more. Manage less. > http://info.mail.yahoo.com/mail_250
|
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








