The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XML::Parser::Style::IxTree - Maintain tag attribute ordering when parsing XML into a tree

SYNOPSIS

  use XML::Parser;
  my $p = XML::Parser->new(Style => 'IxTree');
  my $tree = $p->parsefile('foo.xml');

DESCRIPTION

This module implements XML::Parser's IxTree style parser (same as 'XML::Parser::Style::Tree', but it keeps tag attributes in their original order, thanks to Tie::IxHash). This allows to parse and then reconstruct the original document with respect to original attribute ordering).

Tree Parser on CPAN: http://search.cpan.org/~msergeant/XML-Parser/Parser/Style/Tree.pm

Tie::IxHash on CPAN: http://search.cpan.org/~chorny/Tie-IxHash/