Hi,
I have basic question regarding adding xml within xml.
String xml = "<call:Status>open</call:Status>";
and one elem that I am adding in existing doc.
Element elem = new Element("Test");
when I add
elem.addContent(xml);
The doc has elem like
<Test><call:Status>open</call:Status></call:CpoData>
with less than, greater than and all xml tags in xslt format.
I also tried XmlObject xo = XmlObject.Factory.parse(xml); and add xo.xmlText(); also elem.text(xml);
but same result.
Can anyone guide me here please?