4D LanguageCommands by themeXML DOMVersion: NextXML DOMDOM Append XML child node ( elementRef : Text ; childType : Integer ; childValue : Text, Blob ) : TextDOM Append XML element ( targetElementRef : Text ; sourceElementRef : Text ) : TextDOM CLOSE XML ( elementRef : Text )DOM Count XML attributes ( elementRef : Text ) : IntegerDOM Count XML elements ( elementRef : Text ; elementName : Text ) : IntegerDOM Create XML element ( elementRef : Text ; xPath : Text {; attribName : Text ; attrValue : Text, Boolean, Integer, Real, Time, Date} {; ...(attribName : Text, attrValue : Text, Boolean, Integer, Real, Time, Date)} ) : TextDOM Create XML element arrays ( elementRef : Text ; xPath : Text {; attribNamesArray : Text array ; attribValuesArray : Text array} {; ...(attribNamesArray : Text array, attribValuesArray : Text array)} ) : TextDOM Create XML Ref ( root : Text {; nameSpace : Text} {; nameSpaceName : Text ; nameSpaceValue : Text} {; ...(nameSpaceName : Text, nameSpaceValue : Text)} ) : TextDOM EXPORT TO FILE ( elementRef : Text ; filePath : Text )DOM EXPORT TO VAR ( elementRef : Text ; vXmlVar : Text, Blob )DOM Find XML element ( elementRef : Text ; xPath : Text {; arrElementRefs : Text array} ) : TextDOM Find XML element by ID ( elementRef : Text ; id : Text ) : TextDOM Get first child XML element ( elementRef : Text {; childElemName : Text {; childElemValue : Text}} ) : TextDOM Get last child XML element ( elementRef : Text {; childElemName : Text {; childElemValue : Text}} ) : TextDOM Get next sibling XML element ( elementRef : Text {; siblingElemName : Text {; siblingElemValue : Text}} ) : TextDOM Get parent XML element ( elementRef : Text {; parentElemName : Text {; parentElemValue : Text}} ) : TextDOM Get previous sibling XML element ( elementRef : Text {; siblingElemName : Text {; siblingElemValue : Text}} ) : TextDOM Get root XML element ( elementRef : Text ) : TextDOM GET XML ATTRIBUTE BY INDEX ( elementRef : Text ; attribIndex : Integer ; attribName : Variable ; attribValue : Variable )DOM GET XML ATTRIBUTE BY NAME ( elementRef : Text ; attribName : Text ; attribValue : Variable )DOM GET XML CHILD NODES ( elementRef : Text ; childTypesArr : Integer array ; nodeRefsArr : Text array )DOM Get XML document ref ( elementRef : Text ) : TextDOM Get XML element ( elementRef : Text ; elementName : Text ; index : Integer ; elementValue : Variable ) : TextDOM GET XML ELEMENT NAME ( elementRef : Text ; elementName : Variable )DOM GET XML ELEMENT VALUE ( elementRef : Text ; elementValue : Variable {; cDATA : Variable} )DOM Get XML information ( elementRef : Text ; xmlInfo : Integer ) : TextDOM Insert XML element ( targetElementRef : Text ; sourceElementRef : Text ; childIndex : Integer ) : TextDOM Parse XML source ( document : Text {; validation : Boolean {; dtd : Text }} ) : TextDOM Parse XML source ( document : Text {; validation : Boolean {; schema : Text }} ) : TextDOM Parse XML variable ( variable : Blob, Text {; validation : Boolean {; dtd : Text }} ) : TextDOM Parse XML variable ( variable : Blob, Text {; validation : Boolean {; schema : Text}} ) : TextDOM REMOVE XML ATTRIBUTE ( elementRef : Text ; attribName : Text )DOM REMOVE XML ELEMENT ( elementRef : Text )DOM SET XML ATTRIBUTE ( elementRef : Text ; attribName : Text ; attrValue : Text, Boolean, Integer, Real, Time, Date {; ...(attribName : Text, attrValue : Text, Boolean, Integer, Real, Time, Date)} )DOM SET XML DECLARATION ( elementRef : Text ; encoding : Text {; standalone : Boolean {; indentation : Boolean}} )DOM SET XML ELEMENT NAME ( elementRef : Text ; elementName : Text )DOM SET XML ELEMENT VALUE ( elementRef : Text {; xPath : Text}; elementValue : Text, Variable {; *} )