is there any library or way exist from which I can convert my xml records to yaml format ?
+1
A:
This page has a pretty long discussion of the problem. It suggests a couple of Python libraries that could be used: Gnosis and generateDS.
Don Kirkby
2010-05-31 20:36:13
+2
A:
The difference between XML and YAML is significant enough to warrant a redesign of the schema you are using to store your data. You should write a script to parse your XML records and output YAML formatted data.
There are some methods out there to convert any generic XML into YAML, but the results are far less usable than a method designed specifically for your schema.
Noah McIlraith
2010-06-02 06:12:15