You need to sign in to do that
Don't have an account?
GaryM_83
XMLStreamWriter - writeendelement
Hi all...my question will probably indicate such; however I am new to Apex. I am using the XMLStreamWriter class but am having difficulty getting the xml to form properly.
I think my issue is that I cannot apply arguments to writeEndElement.
<control>
<controlid>ControlIdHere</controlid>
<uniqueid>false</uniqueid>
<dtdversion>xyz</dtdversion>
</control>
Above is the xml that i need to build but I cant get the tags to close properly in order.
Any help would be greatly appreciated.
Go through these-
http://boards.developerforce.com/t5/Apex-Code-Development/Creating-an-XML-with-Xmlstreamwriter/td-p/201821
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_xml_XmlStream_writer.htm
Let me know if that works for you...