CREATE X-DOCUMENT statement
Creates a handle for an XML document object. To use the XML document, you must add new nodes using the CREATE-NODE( ) method, the CREATE-NODE-NAMESPACE( ) method, or populate the document from an existing file using the LOAD( ) method.
Note: To ensure consistency across all nodes in an XML document, use either the CREATE-NODE-NAMESPACE( ) method or the CREATE-NODE( ) method to build an XML document; do not use both methods within a single document.Syntax
handle
IN WIDGET-POOLwidget-pool-name
ExampleThe following code fragment depicts creating an XML document object:
See alsoCREATE X-NODEREF statement, DELETE OBJECT statement, X-document object handle, X-noderef object handle
OpenEdge Release 10.2B
|