| 4D v14.3DOM SET XML DECLARATION | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v14.3
 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 Create XML Ref
XML SET OPTIONS
	4D Language Reference ( 4D v12.4)
	4D Language Reference ( 4D v14 R2)
	4D Language Reference ( 4D v14 R3)
	4D Language Reference ( 4D v13.5)
	4D Language Reference ( 4D v14.3)
	4D Language Reference ( 4D v14 R4)
Inherited from : DOM SET XML OPTIONS ( 4D v11 SQL Release 6)