Hello world,
I have been practising for XML and have written the code in file like this:
Code:
<listof>
<project name= "Projet1" type= "Externe">
<source name= "Nom1" value= "Valeur1" created= "28/04/09">
<source name= "Nom2" value= "Valeur2" created= "28/05/09">
<source name= "Nom3" value= "Valeur3" created= "20/04/09">
</ project>
</ listof>
But I would succeed in making 2 things:
- Insert a new line type
Code:
<source name= "Nom4" value= "Valeur4" created= "20/04/09">
after the line name = "Nom3.
Update the values of an existing line. Example: replace the value "value2" with "NouvelleValeur2.
Do you have examples of code to manipulate, create and update these attributes? What is the best way to proceed?
Thank you for your help.
Bookmarks