Python XML Modification Scripts Creation
Budget: $30 – $250 USD
I'm looking for someone to write a few Python scripts for modifying XML documents using BeautifulSoup. Please note, this project does not involve XSLT.
The scripts required are:
1. XOR.py
- This script should accept multiple partial or full XPATHs and a file name (or a file pattern).
- It will modify each of the XML files by retaining only one of the elements.
2. CONDITIONAL_XOR.py
- This script has the same arguments as XOR.py.
- In this case, any or all XPATHs can have an additional text.
- The script should only retain one element and delete all others if all conditions match.
The ideal candidate for this project will have extensive experience with Python and BeautifulSoup, as well as a strong understanding of XML and XPATH. Prior experience with writing scripts for XML modification would be a significant advantage.
Please note, the input XML files will be provided as multiple files in a directory and the scripts should handle XML namespaces by including them.
If you're successful in delivering this project, there's potential for additional work creating further scripts.
The scripts required are:
1. XOR.py
- This script should accept multiple partial or full XPATHs and a file name (or a file pattern).
- It will modify each of the XML files by retaining only one of the elements.
2. CONDITIONAL_XOR.py
- This script has the same arguments as XOR.py.
- In this case, any or all XPATHs can have an additional text.
- The script should only retain one element and delete all others if all conditions match.
The ideal candidate for this project will have extensive experience with Python and BeautifulSoup, as well as a strong understanding of XML and XPATH. Prior experience with writing scripts for XML modification would be a significant advantage.
Please note, the input XML files will be provided as multiple files in a directory and the scripts should handle XML namespaces by including them.
If you're successful in delivering this project, there's potential for additional work creating further scripts.