END-ELEMENT( ) method
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Ends an XML node based upon the name of the node with in a SAX-writer object.
Return type: LOGICAL
Applies to: SAX-writer object handle
Syntax
|
- 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.