Revision history for XML-Rules 0.01 2006-10-9 First version, not released on an unsuspecting world. 0.03 2006-10-29 First working version 0.04 2006-11-06 Added support for '.attrname', '+attrname' and '*attrname' Silenced POD and POD-coverage tests 0.05 2006-11-07 Added "Start Tag" Rules to allow optional skipping of branches 0.09 2006-11-12 Added filter mode 0.12 2006-12-27 Fixed some errors in escaping output Added automatic encoding of data 0.13 2006-12-28 Added tests for encode parameter, XML output and filter style 0.14 2007-01-22 Fixed boilerplate.t Simplified filtering into a string 0.15 not sure Added namespace handling 0.16 not sure Added pretty-printing 0.17 2007-02-12 Finished the namespace handling and pretty-printing, including tests 0.18 2007-02-13 Added the forgotten prerequisities into Build.PL Added passthrough Makefile.PL 0.22 2007-12-25 Added whitespace handling 1.00 2008-02-18 Reworked the whitespace handling Added 'by <attrname' builtin rule Fixed filter used as parser and parser used as filter error messages Added return_nothing() and skip_rest() methods to allow you to stop parsing the XML 1.03 2008-07-09 Fixed escaping in filter mode Added '%key' style returns Added 'content by <attrname>' and 'no content by <attrname' builtin rules Added inferRulesFromDTD and inferRulesFromExample 1.04 2008-08-16 Fixed incorrect handling of <tag/> in filters outside interesting tags 1.05 2008-09-05 Fixed handling of rules for tags that sometimes are within another tag with sub{} rule and sometimes not in filters 1.06 2009-03-24 Improved namespace handling 1.08 2009-08-18 Improved ToXML (supported data structures and formatting) TODO: document that, see the t/03-output.t for examples for now 1.10 2010-07-12 Added inferRulesFromDTD fixed a memory leak that prevented the whole parser object from being garbage collected 1.12 2012-10-09 Added support for chunk processing Added remove() and only() attribute filters 1.13 2012-10-11 Fixed dependency on XML::DTDParser in tests 1.14 2012-10-21 Removed frogotten debug print and Data::Dump dependency in a test 1.15 2012-12-12 Added imports and ability to call methods as class methods to get a subroutine reference Added inferRules as a use statement parameter 1.16 2012-12-13 Added default method name to use statement handling InferRulesFromXxx now sort tags alphabetically ... necessary for the tests to work across Perl versions