Jump to content

tranforming xml file


Guest Helpme2

Recommended Posts

Guest Helpme2

Hi.I have a xml file with the following stucture:

<people>  <person>    <name>Max</name>    <Group>A</Group>  </person>  <person>    <name>Max</name>    <Group>B</Group>  </person>  <person>    <name>an other person</name>    <Group>A</Group>  </person></people>

and i want to transform it into another xml file with the following stucture:

<people>  <person>    <name>Max</name>    <Group>A</Group>    <Group>B</Group>  </person>  <person>    <name>an other person</name>    <Group>A</Group>  </person></people>

Is there any possibility to do this using a xslt?Thanks for your help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...