I need to have an xml created using an csv file and a xsd file.
A sample output xml is available at listing 3 of:
[login to view URL]
Corresponding sample xsd is available at:
[login to view URL]
What I want is:
1. Create the part one of python script to generate a csv template from the xsd file with element names, parent names, type of element (i. e string, number, date etc), and attributes which go in and he elements.
2. Create part 2 of the python script to use data from csv file and the xsd to generate an xml.
More details can be provided on request.
1. The first step is to create a csv file from xsd file . The csv file would show element name, text and attributes with name and value.
Python lxml and xmlschema libraries can be used for that. Also I prefer to create the pandas dataframe before saving it as csv but not necessary. This is now the csv template to create xml for 2nd step.
2. In step 2, user selects the fields in csv and fills in element text and attribute values. The 2nd part of python script reads all the data from csv file and creates an xml. During the xml creation scripts does the csv data validation with the help of xsd file such as; required values, minOccurs, maxOccurs, element types and also adds the element given in csv to the right parent.
Finally, the script should again validate the xml with xsd.
Hi, I have 10+ years of extensive experience in Python, Java and software design & development. Have worked numerous times on XSD, XML and CSV. Generating an XML file based on CSV and XSD would be straight forward a Daha Fazla
Bu iş için 28 freelancer ortalamada $168 teklif veriyor
Hello mate How are you? I am very glad to place a bid to your project and i can finish your project in 1 day I have read your description carefully and i am so interested in your project. I am skillful python data pro Daha Fazla
Hi, I can write Python script to convert CSV to XML based on XSD. Let's have chat to discuss further on this project. Thanks, Sayan
Hi,dear. I've just checked all requirements of your project 'Generate xml from csv based on xsd.'. I'm a senior software developer and I'm able to fulfill your project requirements ,you may be interested in me. Please Daha Fazla
Hello. I am a ionic python with full stack experience for more than 3 years. don't worry. I can do it in 2~3 days I hope your call. Nobody can do easily it.