Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> perl >> libxml-filter-reindent-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: libxml-filter-reindent-perl  ]

Paket: libxml-filter-reindent-perl (0.03-8)

Perl module for reformatting whitespace for pretty printing XML

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!

The suggested package is only needed for the example 'pretty.pl'

Andere Pakete mit Bezug zu libxml-filter-reindent-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor

libxml-filter-reindent-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 10,1 kB30 kB [Liste der Dateien]