[RESOLVED] Help!!::XSLT Transformation to remove repetition

wxdqz

New Member
Hi,

I am trying to find an XSLT code for transforming an XML file of the structure:


<Search>
<title>VB.Net Programming with Public Beta</title>
<author_name>Billy Hollis</author_name>
</Search>
<Search>
<title>VB.Net Programming with Public Beta</title>
<author_name>Rockford Lhotka</author_name>
</Search>

into something like this:

<Book>
<title>VB.Net Programming with Public Beta"</title>
<author_name author_id="1">Billy Hollis</author_name>
<author_name author_id="2">Rockford Lhotka</author_name>
</author>
</Book>


Can u please suggest what should be the XSLT Code that I should be using??

-Thanks in advance.
 
Top