How to generate xml in Bash



I need to collect host info and save it in xml file.


I want to use shell, and maybe there maybe no tools like xmlstarlet and so on.


Is there any good way to generate xml file? A xsd schema file can be provided.


Or should I use python but not shell?


Any help would be greatly appreciated. Thank you!


No comments:

Post a Comment