Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - Re: [xsl] Problem in Preceding node. [xsl] Problem in Preceding node.To: Date: 10/3/2005 12:02:00 PM Hi All,
Got another question regarding the preceding node.
with this input file,
<xml>
<a>
<b>
<c>Level 1</c>
</b>
</a>
<d/>
<e/>
<a>
<b>
<a>
<b>
<c>Level 2</c>
</b>
</a>
</b>
</a>
<d/>
<e/>
<a>
<b>
<c>Level 1</c>
</b>
</a>
..........
</xml>
i want to output like this
<xml>
<sections>
<section>
<label>1</label>
<title>Level 1</title>
<d/>
<e/>
<section>
<label>1.1</label>
<title>Level 2</title>
<d/>
<e/>
</section>
</section>
<section>
<label>2</label>
<title>Level 1</title>
<d/>
<e/>
</section>
</sections>
</xml>
i hope that with this data, you understand my point.
thanks and regards.
aaron
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
