4D v13.4XML GET OPTIONS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
XML GET OPTIONS
|
XML GET OPTIONS ( elementRef | document ; selector ; value {; selector2 ; value2 ; ... ; selectorN ; valueN} ) | ||||||||
Parameter | Type | Description | ||||||
elementRef | document | Text, DocRef |
![]() |
XML root element reference or Reference of open document | |||||
selector | Longint |
![]() |
Option to get | |||||
value | Longint |
![]() |
Current value of option | |||||
The XML GET OPTIONS command is used to get the current value of one or more XML parameters for the current session and the current user.
In selector, pass a constant of the "XML" theme indicating the option to get. The current value of the option is returned in the value parameter:
Constant | Type | Value | Comment |
XML Binary encoding | Longint | 5 | Specifies the way binary data will be converted. Possible values:
|
XML Date encoding | Longint | 2 | Specifies the way 4D dates will be converted. For example, !01/01/2003! in the Paris time zone. Possible values:
|
XML Indentation | Longint | 4 | Specifies the indentation of the XML document. Possible values:
|
XML Picture encoding | Longint | 6 | Specifies the way pictures must be converted (before encoding in Base64). Possible values:
|
XML String encoding | Longint | 1 | Specifies the way 4D strings are converted to element values. It does not concern the conversion to attributes for which XML imposes the use of escape characters. Possible values:
|
XML Time encoding | Longint | 3 | Specifies the way 4D times are converted. For example, ?02/00/46? (Paris time). The encoding differs depending on whether you want to express a time or a duration. Possible values for times:
|
Product: 4D
Theme: XML
Number:
1096
Created: 4D v12