4D v14.3

SAX GET XML DOCUMENT VALUES

Home

 
4D v14.3
SAX GET XML DOCUMENT VALUES

SAX GET XML DOCUMENT VALUES 


 

SAX GET XML DOCUMENT VALUES ( document ; encoding ; version ; standalone ) 
Parameter Type   Description
document  DocRef in Reference of open document
encoding  String in XML document character set
version  String in XML version
standalone  Boolean in True = document is standalone, otherwise False

The SAX GET XML DOCUMENT VALUES command gets basic information from the XML header of the XML document referenced in the document parameter.

The command returns the type of encoding, version and the “standalone” property of the document respectively in the encoding, version and standalone parameters. This command must be used with the SAX event XML Start Document. For more information about SAX events, refer to the description of the SAX Get XML node command.

If the command has been executed correctly, the system variable OK is set to 1. Otherwise, it is set to 0 and an error is generated.

 
PROPERTIES 

Product: 4D
Theme: XML SAX
Number: 873

The OK variable is changed by the commandThis command modifies the Error system variable

 
HISTORY 

Created: 4D 2004

 
SEE ALSO 

SAX Get XML node
SAX SET XML DECLARATION

 
ARTICLE USAGE

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)

Inherited from : SAX GET XML DOCUMENT VALUES ( 4D v11 SQL Release 6)