Je voudrais savoir comment je pourrais faire pour modifier un attribut dans un fichier XML.
Je parviens à lire toutes les informations de mon fichier, mais je ne parviens pas à y modifier un attribut, voici mon fichier XML :
Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 <?xml version="1.0" encoding="UTF-8"?> <model_carte> <nom Largeur="90" Hauteur="52" background="CarteDkRepro.gif">Modele simple</nom> <elements Id="1">
Je veux remplacer mon attribut "background"
Partager