vendredi 1 juillet 2016

Update an xml element using where condition

I have an xml file fonts.xml

<fonts>

 <font>

   <name>Aclonica</name>
   <category>Aclonica</category>
   <variants>100,bold</variants>
   <status>active</status>

 </font>
 <font>

   <name>Azeebe</name>
   <category>Sans-serif</category>
   <variants>100,bold,italic</variants>
   <status>active</status>

 </font>

</fonts>

i want to update the status of the node where the name is "Aclonica". How to do this please help me.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire