Lenguaje 4D Comandos por tema XML DOMVersión: 21 R3XML DOMDOM Append XML child node ( refElement : Text ; tipoHijo : Integer ; valorHijo : Text, Blob ) : Text DOM Append XML element ( refElementTarget : Text ; refElementFuente : Text ) : Text DOM CLOSE XML ( elementRef : Text ) DOM Count XML attributes ( elementRef : Text ) : Integer DOM Count XML elements ( elementRef : Text ; nomElement : Text ) : Integer DOM Create XML element ( elementRef : Text ; xRuta : Text {; nomAtrib : Text ; valorAtrib : Text, Boolean, Integer, Real, Time, Date} {; ...(nomAtrib : Text, valorAtrib : Text, Boolean, Integer, Real, Time, Date)} ) : Text DOM Create XML element arrays ( refElement : Text ; xRuta : Text {; arrayNomsAtrib : Text array ; arrayValoresAtrib : Text array} {; ...(arrayNomsAtrib : Text array, arrayValoresAtrib : Text array)} ) : Text DOM Create XML Ref ( raiz : Text {; nomEspacio : Text} {; nSNom : Text ; nSValor : Text} {; ...(nSNom : Text, nSValor : Text)} ) : Text DOM EXPORT TO FILE ( elementRef : Text ; rutaArchivo : Text ) DOM EXPORT TO VAR ( elementRef : Text ; vXmlVar : Text, Blob ) DOM Find XML element ( elementRef : Text ; xRuta : Text {; arrRefElement : Text array} ) : Text DOM Find XML element by ID ( elementRef : Text ; id : Text ) : Text DOM Get first child XML element ( elementRef : Text {; nomElementHijo : Text {; valorElementHijo : Text}} ) : Text DOM Get last child XML element ( elementRef : Text {; nomElementHijo : Text {; valorElementHijo : Text}} ) : Text DOM Get next sibling XML element ( elementRef : Text {; nomElemHermano : Text {; valorElemHermano : Text}} ) : Text DOM Get parent XML element ( elementRef : Text {; nomElemPadre : Text {; valorElemPadre : Text}} ) : Text DOM Get previous sibling XML element ( elementRef : Text {; nomElemHermano : Text {; valorElemHermano : Text}} ) : Text DOM Get root XML element ( elementRef : Text ) : Text DOM GET XML ATTRIBUTE BY INDEX ( elementRef : Text ; indexAtrib : Integer ; nomAtrib : Variable ; valorAtrib : Variable ) DOM GET XML ATTRIBUTE BY NAME ( elementRef : Text ; nomAtrib : Text ; valorAtrib : Variable ) DOM GET XML CHILD NODES ( refElement : Text ; ArrTiposHijos : Integer array ; arrRefsNodos : Text array ) DOM Get XML document ref ( refElement : Text ) : Text DOM Get XML element ( elementRef : Text ; nomElement : Text ; indice : Integer ; valorElement : Variable ) : Text DOM GET XML ELEMENT NAME ( elementRef : Text ; nomElement : Variable ) DOM GET XML ELEMENT VALUE ( elementRef : Text ; valorElement : Variable {; cDATA : Variable} ) DOM Get XML information ( elementRef : Text ; infoXML : Integer ) : Text DOM Insert XML element ( refElementTarget : Text ; refElementFuente : Text ; indiceHijo : Integer ) : Text [DOM Parse XML source ( doc : Text {; validacion : Boolean {; dtd[DOM Parse XML variable ( variable : Blob, Text {; validacion : Boolean {; dtdDOM REMOVE XML ATTRIBUTE ( refElement : Text ; nomAtrib : Text ) DOM REMOVE XML ELEMENT ( elementRef : Text ) DOM SET XML ATTRIBUTE ( elementRef : Text ; nomAtrib : Text ; valorAtrib : Text, Boolean, Integer, Real, Time, Date {; ...(nomAtrib : Text, valorAtrib : Text, Boolean, Integer, Real, Time, Date)} ) DOM SET XML DECLARATION ( elementRef : Text ; codificacion : Text {; autonomo : Boolean {; indentacion : Boolean}} ) DOM SET XML ELEMENT NAME ( elementRef : Text ; nomElement : Text ) DOM SET XML ELEMENT VALUE ( elementRef : Text {; xRuta : Text}; valorElement : Text, Variable {; *} )