Skip to Content
0
Former Member
Jun 19, 2007 at 08:59 PM

XML Manipulation - iXML Class

70 Views

I am using the iXML class in ABAP to create an xMII compatible XML document (ROWSETS / ROWSET / ROW). The document is returned as a standard output string back to xMII. The question is how can I assign the result to an XML variable? Depending on the assignment option that I pick, I get one of the following two results:

1: <?xml version="1.0" encoding="UTF-8"?><XML>&lt;?xml version="1.0" encoding="utf-8"?&gt; .....

Note that this is an XML document wrapped and encoded in an XML document.

2: <?xml version="1.0" encoding="UTF-8"?>

If I take the string and write it to a text file then load the file using the XML loader it works fine. Any way I can achieve this results without an intermediate file???