XMLDocument.create(content)

Creates an XML document initialized with content. Below, an example showing how to create the a document with a predetermined xml string. xmlFileContent = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><invoice><customer>John Doe</customer><date>May 26, 2005</date><date>May 27, 2005</date><serviceDescription>SOME SERVICE</serviceDescription><serviceAmmount>1000.0</serviceAmmount><taxes IVA=\"21%\">210.0</taxes><total>1210.0</total></invoice>" xmlDoc = XMLDocument.create(content : xmlFileContent)

Arguments:

Name Type Description Mode
content String XML text in