1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| // Début table ---------------------------------------------------------------
XMLAjouteFils(W_cXML, "Table", "", Vrai)
XMLAjouteAttribut(W_cXML, "nom", W_oTable:cNom)
XMLAjouteAttribut(W_cXML, "vider", NumériqueVersChaîne(W_oTable:bVider))
// Début colonnes ------------------------------------------------------------
XMLAjouteFils(W_cXML, "Colonnes", "", Vrai)
// Parcours des colonnes
POUR W_i = 1 _A_ TableauOccurrence(W_oTable:tsCol)
XMLAjouteFils(W_cXML, "Col", "", Vrai)
XMLAjouteAttribut(W_cXML, "nom", W_oTable:tsCol[W_i]:cNomCol)
XMLAjouteAttribut(W_cXML, "type", W_oTable:tsCol[W_i]:cTypeCol)
XMLParent(W_cXML)
FIN
XMLParent(W_cXML) |
Partager