Was this helpful?
ParseURL Method
The ParseURL method parses the given URL location (which also can contain a file name) and sets the RootElement attribute representing the tree-based XML document.
This method has the following syntax:
integer = XMLDocument.XMLDocument.ParseURL(urllocation = varchar(16000)
          [, validateschema = integer[, schemacache = XMLSchemaCache]])
This method has the following parameters:
urllocation
(Required) Specifies the URL or file name to parse. Maximum size is 16000 in a UTF8 environment.
validateschema
Specifies whether the method should validate the document against the referenced schema. Valid values are TRUE or FALSE. For more information, see XMLSchemaCache Class.
Default: FALSE
schemacache
Specifies the XMLSchemaCache used for schema validation. This parameter is used only if validateschema is TRUE. For more information, see XMLSchemaCache Class.
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.
Last modified date: 12/20/2023