how to save the xml(type:str) into a .xml file
shenhongcai opened this issue · 2 comments
shenhongcai commented
how to save the xml(type:str) into a .xml file
vinitkumar commented
Hi @shenhongcai. Please correct me if I am wrong, but you want to save the XML output to a xml file.
For this as per the example, try and do something like this:
python -m src.cli --file="examples/example.json" > example.xml
Now, the output would be saved in example.xml file. Let me know if this solves your issue.
lpengxue commented
@vinitkumar The output would be saved in example.xml file. You are right.