Subject: Insert refs
From: "Ricardo Saraiva" <rss@xxxxxxxxxxxxxx>
Date: Wed, 17 Dec 2003 18:35:59 -0000
|
Hello,
I have a XML file with a lot of repeated information. The
question is how do I insert refs not repeating information:
For example if I have:
<email>
<to>John</to>
<to>Bill</to>
</email>
<email>
<to>John</to>
</email>
I wnat the output to be:
<to id ="id1">John</to>
<to id = "id2">Bill</to>
<email>
<to ref = "id1"/>
<to ref = "id2"/>
</email>
<email>
<to ref = "id1"/>
</email>
Thanks in advance,
Ricardo Saraiva.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Insert refs
- Ricardo Saraiva - Wed, 17 Dec 2003 12:55:50 -0500 (EST)
- <Possible follow-ups>
- Ricardo Saraiva - Wed, 17 Dec 2003 13:36:48 -0500 (EST) <=
|
|