i have one doubt in that xml file you have mentioned type = business but while creating file you didnt create that part ca u explain how i can create that
thank you for the video, i have doubt that you formatted the XML from the UI , how can we get it formatted or in tree structure when we run from script. and secondly u added only one structure manually how about having 100K child data and getting it done using loop or how to append under root tag.
Hi.. i need to make an excel file from xml file in which all the attributes of xml should comes as per the column vias and there is also cells info so i need to show cells as row wise in one column
great tutorial... BTW I just have one question, suppose I run the script once it creates the xml file, if I run the script again with some changes in the hard coded data, it then updates the existing xml file, what I want to do is to add another child element named as "customer" with the changed data... how can I do this?
Very good explanation 👍
Thanks for your feedback .. appreciate your time..
i have one doubt in that xml file you have mentioned type = business but while creating file you didnt create that part ca u explain how i can create that
use the .set function to do that
example code:
type1.text = "UK"
type1.set("type", "Business")
This will give you = UK
Simple in the same time comprehensive and useful, thank you very much
Thanks for your feedback .. appreciate your time..
thank you for the video, i have doubt that you formatted the XML from the UI , how can we get it formatted or in tree structure when we run from script.
and secondly u added only one structure manually how about having 100K child data and getting it done using loop or how to append under root tag.
Hi.. i need to make an excel file from xml file in which all the attributes of xml should comes as per the column vias and there is also cells info so i need to show cells as row wise in one column
great tutorial... BTW I just have one question, suppose I run the script once it creates the xml file, if I run the script again with some changes in the hard coded data, it then updates the existing xml file, what I want to do is to add another child element named as "customer" with the changed data... how can I do this?
can you explain how we can create two child tag at a same time
How to add data for in existing xml
Can we use loop to create multiple tags
Yes, go for it
I tried this but it does not work. "if _name_=='_main_':
NameError: name '_name_' is not defined"
WHAT DID I DO WRONG?
it is 1 '_' and you should write 2 __
Talks too fast. And Too many Ads. Good Luck!
Thanks for the view
Sir, for your XML data example : if I want to know customer type and place who has amount = 2500 .
How it should be done ?