Xmldocument
Il reprsente un document au format xml.
|
appendchild |
|
|
Description |
Ajoute un paramtre au document xml |
|
Type de valeur |
|
|
Format |
xmldocument.appendchild(target, data) |
|
Typologie |
Metodo |
|
Systèmes |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
data |
string |
Les informations du nœud |
|
target |
string |
La cible du nœud |
|
Exemples |
|
xmldocument.appendchild(`target`,`data`) |
|
createattribute |
|
|
Description |
Crez un nouvel attribut xml. |
|
Type de valeur |
xmlattribute |
|
Format |
xmlattribute = xmldocument.createattribute(attributename) |
|
Typologie |
Metodo |
|
Systèmes |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
attributename |
string |
Le nom de l`attribut |
|
Exemples |
|
attribute = xmldocument.createattribute(`attribute`) |
|
createelement |
|
|
Description |
Crez un nouvel lment xml. |
|
Type de valeur |
xmlelement |
|
Format |
xmlelement = xmldocument.createelement(elementname) |
|
Typologie |
Metodo |
|
Systèmes |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
elementname |
string |
"idrogeno" Le nom de l`lment est "hydrogne". |
|
Exemples |
|
element = xmldocument.createelement(`name element`) |
|
save |
|
|
Description |
Enregistrez le document xml sur l`appareil. |
|
Type de valeur |
|
|
Format |
xmldocument.save(filename) |
|
Typologie |
Metodo |
|
Systèmes |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
filename |
string |
Le chemin complet du nom de fichier à utiliser pour l`enregistrement. |
|
Exemples |
|
xmldocument.save(`c:filesdata.xml`) |