XMLDocument.print(properties)

Returns string containing XML content. Properties to indicate how the transformer should convert the xml may be included. Example: prop as Any[Any] prop[Fuego.Xml.XMLDocument.OUTPUTPROPERTY_INDENT] = "no" prop[Fuego.Xml.XMLDocument.OUTPUTPROPERTY_OMIT_XML_DECLARATION] = "no" 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><serviceAmmoun>1000.0</serviceAmmount><taxes IVA=\"21%\">210.0</taxes><total>1210.0</total></invoice>" xmlDoc = XMLDocument.create(content : xmlFileContent) display xmlDoc.print(properties : prop)

Arguments:

Name Type Description Mode
properties Any[Any] [optional: default properties] in