[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Count

Subject: Count
From: Tham Tinh <khautinh@xxxxxxxxx>
Date: Tue, 22 Feb 2005 11:23:04 -0800 (PST)
list number xsl
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.