Corrections to the code to remove spurious text blocks
Introduction of code to process lists and pre-formatted code
(Source-only release for now)
On third thought, use only the base Python tools (with gensuite).
My needs are too simple for elaborate libraries and it makes for a smaller file, which is a good thing.
node-by-id XPath function was broken.
Renamed node-by-id into note-by-id for consistency. (Old name still works for compatibility)
Now allows to drag a XSLT stylesheet besides a Tinderbox document.
The applet prompts the user to save the transformed file. Default is still to overwrite the original: Just press enter. Many successive numbered backups are created.
On second thought, use Hamish Sanderson's Appscript instead of Bob Ippolito's aeve (which is great but still work in progress as of now.)
Using Bob Ippolito's py2app instead of Sveinbjorn Thordarson's Platypus;
Using Bob Ippolito's aeve instead of Apple's osapp
includes python wrappers for stock Tiger versions of libxml2, libxslt
As of tinderbox document version 2.3, Alias numbers are finally unsigned (very much at my request... Thanks, Mark!) So I have to follow the new format, according to file version #.
when the text was a literal and not a XPath
The Platypus files got corrupt somehow.
Reported By Tim Lahey.
Bug in python bindings to libxml
http://bugzilla.gnome.org/show_bug.cgi?id=143409
Solution: Catch the exception, and test for empty in a lot of places.
once is handled by the DoOnce command
Also, xmlResult may not always be nodes