xsl-list
[Top] [All Lists]

[xsl] xml to xml mapping - how to combine two groups

2008-01-03 15:00:49


Hello,

I have the following xml data:

<LIST_CREATION>
<CREATION>
<CREATION_DATE>03-OCT-07</CREATION_DATE>
</CREATION>
</LIST_CREATION>
<LIST_NOTE>
<NOTE>
<OUT_NOTE>Blue Box</OUT_NOTE> 
</NOTE>
<NOTE>
<OUT_NOTE>Red Box</OUT_NOTE>
</NOTE>
</LIST_NOTE>


I need to map these into one grouping.
I would like the result to be something like:

<LIST_COMBINED>
<COMBINED>
<CREATION_DATE>03-OCT-07</CREATION_DATE>
<OUT_NOTE>Blue Box</OUT_NOTE> 
</COMBINED>
<COMBINED>
<OUT_NOTE>Red Box</OUT_NOTE>
</COMBINED>
</LIST_COMBINED>

If this is possible, I would much appreciate some guidance!!

Thanks! Andy


This message may contain confidential and/or privileged information. This 
information is intended to be read only by the individual or entity to whom it 
is addressed. If you are not the intended recipient, you are on notice that any 
review, disclosure, copying, distribution or use of the contents of this 
message is strictly prohibited. If  you have received this message in error, 
please notify the sender immediately and delete or destroy any copy of this 
message.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--