File: README

package info (click to toggle)
libxml-filter-reindent-perl 0.03-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 120 kB
  • sloc: perl: 194; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 1,089 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
XML::Filter::Reindent version 0.03
==================================

DESCRIPTION

XML::Filter::Reindent is a sub class of XML::Filter::DetectWS. 

XML::Filter::Reindent can be used as a PerlSAX filter to reformat an XML document before sending it to a PerlSAX
handler that prints it (like XML::Handler::Composer.) 

Like XML::Filter::DetectWS, it detects ignorable whitespace and blocks of whitespace characters in certain places. It
uses this information and information supplied by the user to determine where whitespace may be modified, deleted or
inserted. Based on the indent settings, it then modifies, inserts and deletes characters and ignorable_whitespace
events accordingly. 

This is just a first stab at the implementation. It may be buggy and may change completely! 

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

COPYRIGHT AND LICENCE

Copyright (c) 1999,2000 Enno Derksen
All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.