Hi,
has anyone seen or got an example of java code which would go though an xml file and replace all href tags with their actual contents...
exp :
<class>
<students>
<item href="id1"/>
<item href="id2"/>
</students>
</class>
<student id="id1">
<name>Thierry</name>
<lastname>Dagnino</lastname>
</student>
<student id="id2">
<name>Bozo</name>
<lastname>the Clown</lastname>
</student>
would become
<class>
<students>
<student>
<name>Thierry</name>
<lastname>Dagnino</lastname>
</student>
<student>
<name>Bozo</name>
<lastname>the Clown</lastname>
</student>
</students>
</class>
Anyway this whole question is because I'm looking into writing a axis handler to do this kind of job to remove multiref tags but I don't want to reinvent the wheel... 😊
Thanks.