Langage 4D Commandes XML DOMVersion: 20 R10 BETA XML DOMDOM Append XML child node ( refElément ; typeEnfant ; valeurEnfant ) : Text DOM Append XML element ( refElémentCible ; refElémentSource ) : Text DOM CLOSE XML ( refElément ) DOM Count XML attributes ( refElément ) : Integer DOM Count XML elements ( refElément ; nomElément ) : Integer DOM Create XML element ( refElément ; xPath {; nomAttribut ; valeurAttribut} {; nomAttribut2 ; valeurAttribut2 ; ... ; nomAttributN ; valeurAttributN} ) : Text DOM Create XML element arrays ( refElément ; xChemin {; tabNomsAttributs ; tabValeursAttributs} {; tabNomsAttributs2 ; tabValeursAttributs2 ; ... ; tabNomsAttributsN ; tabValeursAttributsN} ) : Text DOM Create XML Ref ( racine {; nameSpace} {; nSNom ; nSValeur} {; nSNom2 ; nSValeur2 ; ... ; nSNomN ; nSValeurN} ) : Text DOM EXPORT TO FILE ( refElément ; cheminFichier ) DOM EXPORT TO VAR ( refElément ; vVarXml ) DOM Find XML element ( refElément ; xPath {; tabRefEléments} ) : Text DOM Find XML element by ID ( refElément ; id ) : Text DOM Get first child XML element ( refElément {; nomElémentEnf {; valeurElémentEnf}} ) : Text DOM Get last child XML element ( refElément {; nomElémentEnf {; valeurElémentEnf}} ) : Text DOM Get next sibling XML element ( refElément {; nomElémentFrère {; valeurElémentFrère}} ) : Text DOM Get parent XML element ( refElément {; nomElémentPar {; valeurElémentPar}} ) : Text DOM Get previous sibling XML element ( refElément {; nomElémentFrère {; valeurElémentFrère}} ) : Text DOM Get root XML element ( refElément ) : Text DOM GET XML ATTRIBUTE BY INDEX ( refElément ; indexAttribut ; nomAttribut ; valeurAttribut ) DOM GET XML ATTRIBUTE BY NAME ( refElément ; nomAttribut ; valeurAttribut ) DOM GET XML CHILD NODES ( refElément ; tabTypesEnfants ; tabRefsNoeuds ) DOM Get XML document ref ( refElément ) : Text DOM Get XML element ( refElément ; nomElément ; indice ; valeurElément ) : Text DOM GET XML ELEMENT NAME ( refElément ; nomElément ) DOM GET XML ELEMENT VALUE ( refElément ; valeurElément {; cDATA} ) DOM Get XML information ( refElément ; infoXML ) : Text DOM Insert XML element ( refElémentCible ; refElémentSource ; indexEnfant ) : Text [DOM Parse XML source ( nomFichier {; validation {; dtd[DOM Parse XML variable ( variable {; validation {; dtdDOM REMOVE XML ATTRIBUTE ( refElément ; nomAttribut ) DOM REMOVE XML ELEMENT ( refElément ) DOM SET XML ATTRIBUTE ( refElément ; nomAttribut ; valeurAttribut {; nomAttribut2 ; valeurAttribut2 ; ... ; nomAttributN ; valeurAttributN} ) DOM SET XML DECLARATION ( refElément ; encodage {; autonome {; indentation}} ) DOM SET XML ELEMENT NAME ( refElément ; nomElément ) DOM SET XML ELEMENT VALUE ( refElément {; xPath}; valeurElément {; *} )