4D v14.3

SAX CLOSE XML ELEMENT

Home

 
4D v14.3
SAX CLOSE XML ELEMENT

SAX CLOSE XML ELEMENT 


 

SAX CLOSE XML ELEMENT ( document ) 
Parameter Type   Description
document  DocRef in Reference of open document

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 <Book>, the following statement:

 SAX CLOSE XML ELEMENT($DocRef)

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

 </Book>

 
PROPERTIES 

Product: 4D
Theme: XML SAX
Number: 854

 
HISTORY 

Created: 4D 2004

 
SEE ALSO 

SAX OPEN XML ELEMENT
SAX OPEN XML ELEMENT ARRAYS

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)