This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
DOM SET XML DECLARATION
|
DOM SET XML DECLARATION ( elementRef ; encoding {; standalone {; indentation}} ) | ||||||||
Parameter | Type | Description | ||||||
elementRef | String |
![]() |
XML element reference | |||||
encoding | String |
![]() |
XML document character set | |||||
standalone | Boolean |
![]() |
True = document is standalone False (default) = document is not standalone | |||||
indentation | Boolean |
![]() |
*** Obsolete, do not use *** | |||||
The DOM SET XML DECLARATION command allows you to define various options that are useful in creating the XML tree set using elementRef. These options concern the encoding and the standalone property of the tree:
The following example sets the encoding to use and the standalone option in the elementRef element:
DOM SET XML DECLARATION(elementRef;"UTF-16";True)
Product: 4D
Theme: XML DOM
Number:
859
Created: 4D 2004
Modified: 4D v12
Renamed: 4D v12 (DOM SET XML OPTIONS)
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)