Skip to main content
Version: 20 R7 BETA

SAX CLOSE XML ELEMENT

SAX CLOSE XML ELEMENT ( document )

ParameterTypeDescription
documentTimeReference of open document

Description

The SAX CLOSE XML ELEMENT command writes the statements necessary for closing the last element opened using the SAX OPEN XML ELEMENT command in the XML document referenced by document

The use of this command is optional. In fact, 4D will automatically add the necessary end tags for any unclosed elements when XML documents are closed.

Example

If the last element opened is , the following statement:

 SAX CLOSE XML ELEMENT($DocRef)

... will write the following line in the document:

 

See also

SAX OPEN XML ELEMENT
SAX OPEN XML ELEMENT ARRAYS

Properties

Command number854
Thread safe