Handling XML Documents

This page discusses:

CreateXMLDocument

Lets you load an empty document created using the new function or load a document saved on disk or in database.

Signature

CreateXMLDocument(iXMLDocument : ObjectType [, iWithValidation : Boolean, iSchema : ObjectType, iNamespace : String]) : XMLDocument

Arguments

NameInput / OutputRequired?TypeComment
iXMLDocumentInYesObjectType
  • Path of the XML source document.
  • PLMDMTDocument
  • Logical name (resource table).
iWithValidationInNoBooleanChecks that the file complies with the schema.
iSchemaInNoObjectType
  • Path of the XML source document.
  • PLMDMTDocument
  • Logical name (resource table).
iNamespaceInNoString

ReturnType

XMLDocument

Example

xmlReferenceDoc = CreateXMLDocument("e:\\XmlSample.xml")