ELEMENT_NODE =head2 ATTRIBUTE_NODE =head2 TEXT_NODE =head2 CDATA_SECTION_NODE =head2 ENTITY_REFERENCE_NODE =head2 ENTITY_NODE =head2 PROCESSING_INSTRUCTION_NODE =head2 COMMENT_NODE =head2 DOCUMENT_NODE =head2 DOCUMENT_TYPE_NODE =head2 DOCUMENT_FRAGMENT_NODE =head2 NOTATION_NODE =head2 ELEMENT_DECL_NODE =head2 ATT_DEF_NODE =head2 XML_DECL_NODE =head2 ATTLIST_DECL_NODE =head2 NAMESPACE_NODE XML::Tidy also exports:
STANDARD_XML_DECL
which returns a reasonable default XML declaration string.
CHANGES Revision history for Perl extension XML::Tidy:
- 1.10.B52FpLx Mon May 2 15:51:21:59 2011
* added tests for undefined non-standard XML declaration to suppress
warnings
- 1.8.B2AMvdl Thu Feb 10 22:57:39:47 2011
* aligned .t code
* added test for newline before -r to try to resolve:
HTTPS://RT.CPAN.Org/Ticket/Display.html?id=65471 (Thanks, Leandro.)
* fixed off-by-one error when new gets a readable (non-newline)
filename (that's not "filename" without a pre-'filename' param) to
resolve: HTTPS://RT.CPAN.Org/Ticket/Display.html?id=65151 (Thanks,
Simone.)
- 1.6.A7RJKwl Tue Jul 27 19:20:58:47 2010
* added head2 POD for EXPORTED CONSTANTS to try to pass t/00podc.t
- 1.4.A7QCvHw Mon Jul 26 12:57:17:58 2010
* hacked a little test for non-UTF-8 decl str to resolve FrankGoss'
need for ISO-8859-1 decl encoding to persist through tidying
* md sure META.yml is being generated correctly for the CPAN
* updated license to GPLv3
- 1.2.75BACCB Fri May 11 10:12:12:11 2007
* made "1.0" float binarize as just "1" int
* made ints signed && bounds checked
* added new('binary' => 'BinFilename.xtb') option
- 1.2.54HJnFa Sun Apr 17 19:49:15:36 2005
* fixed tidy() processing instruction stripping problem
* added support for binary ints && floats in bcompress()
* tightened up binary format && added pod
- 1.2.54HDR1G Sun Apr 17 13:27:01:16 2005
* added bcompress() && bexpand()
* added compress() && expand()
* added toString()
- 1.2.4CKBHxt Mon Dec 20 11:17:59:55 2004
* added exporting of XML::XPath::Node (DOM) constants
* added node object creation wrappers (like LibXML)
- 1.2.4CCJW4G Sun Dec 12 19:32:04:16 2004
* added optional 'xpath_loc' => to prune()
- 1.0.4CAJna1 Fri Dec 10 19:49:36:01 2004
* added optional 'filename' => to write()
- 1.0.4CAAf5B Fri Dec 10 10:41:05:11 2004
* removed 2nd param from tidy() so that 1st param is just indent
string
* fixed pod errors
- 1.0.4C9JpoP Thu Dec 9 19:51:50:25 2004
* added xplc option to write()
* added prune()
- 1.0.4C8K1Ah Wed Dec 8 20:01:10:43 2004
* inherited from XPath so that those methods can be called directly
* original version (separating Tidy.pm from Merge.pm)
INSTALL From the command shell, please run:
`perl -MCPAN -e "install XML::Tidy"`
or uncompress the package && run the standard:
`perl Makefile.PL; make; make test; make install`
FILES XML::Tidy requires:
Carp to allow errors to croak() from calling sub
XML::XPath to use XPath statements to query && update XML
XML::XPath::XMLParser to parse XML documents into XPath objects
Math::BaseCnv to handle base-64 indexing for compress() && expand()
LICENSE Most source code should be Free! Code I have lawful authority over is && shall be! Copyright: (c) 2004-2011, Pip Stuart. Copyleft : This software is licensed under the GNU General Public License (version 3). Please consult the Free Software Foundation (http://FSF.Org) for important information about your freedom.
AUTHOR Pip Stuart <Pip@CPAN.Org>