Línguagem 4DComandosXML DOMVersão: 20 R7XML DOMDOM Append XML child node ( refElemento ; tipoFilho ; valorFilho ) : TextDOM Append XML element ( refElementoTarget ; refElementoFonte ) : TextDOM CLOSE XML ( refElemento )DOM Count XML attributes ( refElemento ) : IntegerDOM Count XML elements ( refElemento ; nomeElemento ) : IntegerDOM Create XML element ( refElemento ; xRota {; nomeAtrib ; valorAtrib} {; nomeAtrib2 ; valorAtrib2 ; ... ; nomeAtribN ; valorAtribN} ) : TextDOM Create XML element arrays ( arrayNomesAtrib ; xRota {; atribNomesArray ; atribValoresArray} {; atribNomesArray2 ; atribValoresArray2 ; ... ; atribNomesArrayN ; atribValoresArrayN} ) : TextDOM Create XML Ref ( raiz {; nomeEspaço} {; nSNome ; nSValor} {; nSNome2 ; nSValor2 ; ... ; nSNomeN ; nSValorN} ) : TextDOM EXPORT TO FILE ( refElemento ; viaArquivo )DOM EXPORT TO VAR ( refElemento ; vXMLVar )DOM Find XML element ( refElemento ; xPath {; arrRefElementos} ) : TextDOM Find XML element by ID ( refElemento ; id ) : TextDOM Get first child XML element ( refElemento {; nomElemFilho {; valorElemFilho}} ) : TextDOM Get last child XML element ( refElemento {; nomElemFilho {; valorElemFilho}} ) : TextDOM Get next sibling XML element ( refElemento {; nomeElemIrmao {; valorElemIrmao}} ) : TextDOM Get parent XML element ( refElemento {; nomeElemPai {; valorElemPai}} ) : TextDOM Get previous sibling XML element ( refElemento {; nomeElemIrmao {; valorElemIrmao}} ) : TextDOM Get root XML element ( refElemento ) : TextDOM GET XML ATTRIBUTE BY INDEX ( refElemento ; indexAtrib ; nomeAtrib ; valorAtrib )DOM GET XML ATTRIBUTE BY NAME ( refElemento ; nomeAtrib ; valorAtrib )DOM GET XML CHILD NODES ( elemRef ; arrTiposFilhos ; arrRefsNodos )DOM Get XML document ref ( arrayNomesAtrib ) : TextDOM Get XML element ( refElemento ; nomeElemento ; index ; valorElemento ) : TextDOM GET XML ELEMENT NAME ( refElemento ; nomeElemento )DOM GET XML ELEMENT VALUE ( refElemento ; valorElemento {; cDATA} )DOM Get XML information ( refElemento ; xmlInfo ) : TextDOM Insert XML element ( tarfetElementRef ; sourceElementRef ; childIndex ) : Text[DOM Parse XML source ( documento {; validaçao {; dtd[DOM Parse XML variable ( variável {; validaçao {; dtdDOM REMOVE XML ATTRIBUTE ( elementoRef ; nomeAtrib )DOM REMOVE XML ELEMENT ( refElemento )DOM SET XML ATTRIBUTE ( refElemento ; nomeAtrib ; valorAtrib {; nomeAtrib2 ; valorAtrib2 ; ... ; nomeAtribN ; valorAtribN} )DOM SET XML DECLARATION ( refElemento ; codificaçao {; autonomo {; recuo}} )DOM SET XML ELEMENT NAME ( refElemento ; nomeElemento )DOM SET XML ELEMENT VALUE ( refElemento {; xRota}; valorElemento {; *} )