![]() |
![]() |
![]() |
Converting XML to HTML, XHTML, WML or another form of XML is a fairly common need. The most commonly offered solution for this is XSLT. I have worked with XSLT as well as some of the other approaches over the past year or two. I just came across XIST and it seems to take a very elegant approach to XML conversion. XIST is a DOM parser with a very simple and pythonesque tree API - every XML element type corresponds to a Python class and these Python classes provide a conversion method to transform the XML tree. I hope to get a chance to put this approach to the test in the coming weeks.
|