ANN: XIST 2.11 released
XIST 2.11 has been released! What is it? =========== XIST is an extensible HTML/XML generator written in Python. XIST is also a DOM parser (built on top of SAX2) 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 (e.g. into HTML). XIST can be considered "object oriented XSL". What's new in version 2.11? =========================== * A script xml2xsc.py has been added, that can be used to parse an XML file and generate a rudimentary XIST namespace from it. * A DocType for XHTML 1.1 has been added (suggested by Elvelind Grandin). * Line number information is now added when parsing HTML. * The sorted method now supports the same arguments (cmp, key and reverse) as list.sort and sorted in Python 2.4. * The walk doesn't yield the node directly, but yields a Cursor object now, with has several ways of referencing the node. * New methods walknode, walkpath and walkindex have been added. * Presenters use an iterator API instead of a stream API now. Dumping an XML tree presentation to the terminal can now start immediately instead of having to wait for the complete string to be formatted. * Fixed a bug with element/attribute names that contained a . character. (This broke ll.xist.ns.fo.) * Fixed a bug with xmlns attributes in nested elements. When an element ended the parser restored the wrong prefix mapping. * The python-quotes demo has been updated to use the current version of AMK's XML file. * Removed iterator stuff from ll.xist.xfind, as this is now part of the ll package/module. * The function ToNode has been renamed to tonode. * ll.xist.Context now longer subclasses list. * ll.xist.ns.doc.explain will now try to output the objects in the order in which they appear in the Python source. * The node methods find and findfirst have been removed. * ll.xist.ns.cond now uses a sandbox dictionary in a converter context for evaluating expression. For changes in older versions see: http://www.livinglogic.de/Python/xist/History.html Where can I get it? =================== XIST can be downloaded from http://ftp.livinglogic.de/xist/ or ftp://ftp.livinglogic.de/pub/livinglogic/xist/ Web pages are at http://www.livinglogic.de/Python/xist/ ViewCVS access is available at http://www.livinglogic.de/viewcvs/ For information about the mailing lists go to http://www.livinglogic.de/Python/xist/Mailinglists.html Bye, Walter Dörwald
participants (1)
-
Walter Dörwald