Sunday, 21 September 2014

filling XML document from excel file with python



i have an XML document that should be filled from an Excell document.



<Station>
<substation>
<item name1="item1" name2="item2" name3="item3" ></item>
<item name1="item2" name2="item2" name3="item3"></item>
<item name1="item3" name2="item2" name3="item3"></item>
<item name1="item4" name2="item2" name3="item3"></item>
</substation>
</Station>


how can i write a python script to access and modify the value of name1,name2 and name3 ?


No comments:

Post a Comment