Skip to main content
Version: 21 R4 BETA

SAX GET XML DOCUMENT VALUES

SAX GET XML DOCUMENT VALUES ( document : Time ; encoding : Text ; version : Text ; standalone : Boolean )

ParameterTypeDescription
documentTime→Reference of open document
encodingText←XML document character set
versionText←XML version
standaloneBoolean←True = document is standalone, otherwise False
History
ReleaseChanges
2004Created

Description​

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.

System variables and sets​

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.

See also​

SAX Get XML node
SAX SET XML DECLARATION

Properties​

Command number873
Thread safeyes
Modifies variablesOK, error