SAX GET XML DOCUMENT VALUES

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 2004


SAX GET XML DOCUMENT VALUES (document; encoding; version; standalone)

ParameterTypeDescription
documentDocRefReference of open document
encodingStringXML document character set
versionStringXML version
standaloneBooleanTrue = document is standalone,
otherwise False

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.

See Also

SAX Get XML node, SAX SET XML OPTIONS.

System Variables or 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.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next