4D v14.3DOM Get XML document ref |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
DOM Get XML document ref
DOM Get XML document ref
The DOM Get XML document ref command is used to recover the reference of the "document" element of the DOM tree whose reference you have passed in elementRef. The document element is the first element of a DOM tree; it is the parent of the root element. The reference of the document element lets you handle the "Doctype" and "Processing Instruction" nodes. It can only be used with the DOM Append XML child node and DOM GET XML CHILD NODES commands. At this level, you can only append processing instructions and comments or replace the Doctype node. You cannot create CDATA or Text nodes there. In this example, we want to find the DTD declaration of the XML document: C_TEXT($rootRef) |
PROPERTIES
Product: 4D
HISTORY
Created: 4D v12 SEE ALSO
DOM Append XML child node ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||