Hi All
I am receiving a
String content from a method which is a chunk of xml.
The xml is something like this
<parent1>
<child>blahblah</child>
other tags
</parent1>
Or i can recive some thing like this
<parent2>
<child1>blahblah</child1>
other tags
</parent2>
The input xml i recieve will vary dynamically. What i want to do is interspere a fe xml tags just before the closing tag (</parent1> or </parent2> in this case.
Can someone tell me what would be a neat way of doing the same
Regards