LOAD( ) method (Handle)
Loads an XML document into memory, parses it, and makes its contents available in ABL as an X-document object.
This method sets the ENCODING attribute for the XML document to the encoding name specified in the XML document’s encoding declaration.
Return type: LOGICAL
Applies to: X-document object handle
mode
file
memptr
longchar
validate
A logical expression where TRUE indicates that the parser should validate the document’s logical structure with respect to its Document Type Definition (DTD). Note that even if validation against the DTD is not specified, the document’s physical structure is still validated. If this expression is TRUE, then the parser will also validate against any XML Schema file references in the XML document or specified in the SCHEMA-LOCATION and NONAMESPACE-SCHEMA-LOCATION attribute.The following code fragment creates a parse tree of XML nodes and validates its structure:
See also: ADD-SCHEMA-LOCATION( ) method, NONAMESPACE-SCHEMA-LOCATION attribute, SCHEMA-LOCATION attribute, SCHEMA-PATH attribute
OpenEdge Release 10.2B
|