Hi,
I'm using XMLBuilder to build an XML file (to send upto a webservice). I need to insert a set of prebuilt XML snippets into the file.
How do I insert precreated XML into the file retaining it's structure?
My code at the moment is as below: The issue lies on the line that at the moment has .text(obj.... The XML data is stored in a db.
Regards,
Jon
I'm using XMLBuilder to build an XML file (to send upto a webservice). I need to insert a set of prebuilt XML snippets into the file.
How do I insert precreated XML into the file retaining it's structure?
My code at the moment is as below: The issue lies on the line that at the moment has .text(obj.... The XML data is stored in a db.
B4X:
For i = 0 To objCursor.RowCount - 1
objCursor.Position = i
objXMLBuilder.element("UploadEntry") _
.attribute("ID",objCursor.GetString("ID")) _
.element("ActionXML") _
.text(objCursor.GetString("XMLString"))
Next
Regards,
Jon