This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
DOM Get XML information
|
DOM Get XML information ( elementRef ; xmlInfo ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
elementRef | String |
![]() |
XML root element reference | |||||
xmlInfo | Longint |
![]() |
Type of information to get | |||||
Function result | String |
![]() |
Value of the XML information | |||||
The DOM Get XML information command retrieves diverse information about the XML element designated by elementRef.
In xmlInfo, pass a code indicating the type of information to be retrieved. You can use the following predefined constants, located in the XML theme:
Constant | Type | Value | Comment |
DOCTYPE Name | Longint | 3 | Name of the root element as defined in the DOCTYPE marker |
Document URI | Longint | 6 | URI of the DTD |
Encoding | Longint | 4 | Encoding used (UTF-8, ISO...) |
PUBLIC ID | Longint | 1 | Public identifier (FPI) of the DTD to which the document conforms (if the DOCTYPE xxx PUBLIC tag is present). |
SYSTEM ID | Longint | 2 | System identifier |
Version | Longint | 5 | Accepted XML version |
Product: 4D
Theme: XML DOM
Number:
721
Modified: 4D 2004
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)