dimanche 30 mars 2014

Python XML Parser


Vote count:

0




I need help with the Python XML Parser, i got an XML document and i need to get the string between a tag if the tag setting with name string exists.


<contact>



<buddy>


<name>1. String</name>



`<setting name='string' type='string'>2. String</setting>`


</buddy>


</contact>


so that 1. string is in variable stringone and 2. String is in variable stringtwo.



asked 23 secs ago






Aucun commentaire:

Enregistrer un commentaire