Posted: Wed Mar 31, 2004 7:35 am Post subject: Assigning InputRoot to output XML tree
Voyager
Joined: 21 Oct 2003 Posts: 80 Location: NJ
Hello,
I am trying to store my entire Input XML to a element in OutputXML
SET OutputRoot.XML.myOutRoot.myInXML = InputRoot;
my XML is something like this
<HEADER xmlns:tst="http://xxx.com">
<BODY>
<FIELD1>YYY</FIELD1>
</BODY>
</HEADER>
If I see my Output root the attributes are changing into XML tags automatically.
my outputXML is something like this
<myInXML>
<Properties>
............
</Properties>
<MQMD>
.............
<HEADER>
<xmlns:tst>http://xxx.com</xmlns:tst>
<BODY>
<FIELD1>YYY</FIELD1>
</BODY>
</HEADER>
How can I avoid attribute from forming as XML tags... Respond quickly its little urgent. Thanks
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
This site has an excellent search facility. You can help yourself by searching previous postings. I did a quick search on "string" and "XML" which resulted in numerous postings that specifically speak to your issue.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum