SAX CLOSE XML ELEMENT

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004


SAX CLOSE XML ELEMENT (document)

ParameterTypeDescription
documentDocRefReference of open document

Description

In the XML document referenced by document, the SAX CLOSE XML ELEMENT command writes the statements necessary for closing the last element opened using the SAX OPEN XML ELEMENT command.

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

Example

If the last element opened is <Book>, the following statement:

   SAX CLOSE XML ELEMENT($DocRef)

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

</Book>

See Also

SAX OPEN XML ELEMENT, SAX OPEN XML ELEMENT ARRAYS.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next