Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Newbie (Parse and substring). Newbie (Parse and substring).To: NULL Date: 3/6/2007 1:34:00 PM
Hi,
I m a newbie with XSL and I need some help of this topic.
I have to transform a XML file formated like that :
<main>
<smain>
<code>Book 0</code>
<category>book/thriller/conelly</category>
</smain>
<smain>
<code>Book 1</code>
<category>book/computer/asp</category>
<smain>
<smain>
<code>Book 2</code>
<category>book/thriller/coben</category>
</smain>
</main>
I have to group the node by category.
Here's the result I need to get
<div class="csscategory">
<h1>Computer</h1>
<ul>
<li>1</li>
</ul>
</div>
<div class="csscategory">
<h1>Thriller</h1>
<ul>
<li>Book 0</li>
<li>Book 2</li>
</ul>
</div>
How can make this xslt page.
I suppose I have to use javascript functions.
I thank you in advance for your help.
Stan
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
