How to aggregate data with XSL ?

G

Guiding5

Hi group!

How do I aggregate elements based on one of it node's values ?

For example:

Input XML:
<dataset>
<value>
<name>Bob</name>
<desc>Silent</desc>
</value>
<value>
<name>Bob</name>
<desc>Fat</desc>
</value>
<value>
<name>Jay</name>
<desc>Stupid</desc>
</value>
</dataset>

Needed result:
<dataset>
<value>
<name>Bob</name>
<desc>Silent</desc>
<desc>Fat</desc>
</value>
<value>
<name>Jay</name>
<desc>Stupid</desc>
</value>
</dataset>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,255
Members
46,853
Latest member
GeorgiaSta

Latest Threads

Top