| 4D v15.4DOM SET XML DECLARATION | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v15.4
 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
	
	
	
	4D Language Reference ( 4D v15.4)
	
	
	4D Language Reference ( 4D v15)
	
	
	
	
	
	
	4D Language Reference ( 4D v15.3)
 Add a comment
Add a comment