Below is an example of the original XML to YAML and the result.
Original XML to YAML Example<?xml version="1.0" encoding="UTF-8" ?> <bookstore> <book category="Tools"> <title lang="en">pakainfo</title> <author>webix infoway</author> <year>2022</year> <price>150</price> </book> <book category="web"> <title lang="en">yttags</title> <author>Jaydeep Gondaliya</author> <author>Darshit Bhanderi</author> <author>Gopal Makvana</author> <author>Mihir Thumar</author> <year>2020</year> <price>200</price> </book> </bookstore>
And an example of how the online XML to YAML works.
XML to YAML Result--- bookstore: book: - "-category": Tools title: "-lang": en "#text": pakainfo author: webix infoway year: 2022 price: 150 - "-category": web title: "-lang": en "#text": yttags author: - Jaydeep Gondaliya - Darshit Bhanderi - Gopal Makvana - Mihir Thumar year: 2020 price: 200