Previous Next

END-ELEMENT( ) method
Ends an XML node based upon the name of the node with in a SAX-writer object.
Return type:
Applies to:
 
Syntax 
END-ELEMENT ( name [, namespace-URI ] )
name
A CHARACTER or LONGCHAR expression evaluating to the fully qualified or unqualified name of the element.
namespace-URI
A CHARACTER or LONGCHAR expression evaluating to the URI of the element. If the element doesn’t contain a namespace, it can evaluate to an empty string ("") or the Unknown value (?).
Ends an XML node and sets the WRITE-STATUS to SAX-WRITE-ELEMENT.
For every invocation of END-ELEMENT, there must be a preceding corresponding call of the START-ELEMENT method. All the parameter values must match for the methods to correspond. The method does not resolve namespaces. Instead, it matches the namespace against the corresponding START-ELEMENT value.
If the STRICT attribute is TRUE and the method does not match a preceding START-ELEMENT call, then the method fails.
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.