README
1XML::Filter::Reindent version 0.03
2==================================
3
4DESCRIPTION
5
6XML::Filter::Reindent is a sub class of XML::Filter::DetectWS.
7
8XML::Filter::Reindent can be used as a PerlSAX filter to reformat an XML document before sending it to a PerlSAX
9handler that prints it (like XML::Handler::Composer.)
10
11Like XML::Filter::DetectWS, it detects ignorable whitespace and blocks of whitespace characters in certain places. It
12uses this information and information supplied by the user to determine where whitespace may be modified, deleted or
13inserted. Based on the indent settings, it then modifies, inserts and deletes characters and ignorable_whitespace
14events accordingly.
15
16This is just a first stab at the implementation. It may be buggy and may change completely!
17
18INSTALLATION
19
20To install this module type the following:
21
22 perl Makefile.PL
23 make
24 make test
25 make install
26
27COPYRIGHT AND LICENCE
28
29Copyright (c) 1999,2000 Enno Derksen
30All rights reserved.
31This program is free software; you can redistribute it and/or modify it
32under the same terms as Perl itself.
33