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


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


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:

Tie::IxHash on CPAN: