NAME

XML::Ordered - Convert document-oriented XML to data structures, preserving element order

VERSION

version 0.01

SYNOPSIS

...

DESCRIPTION

This module implements a mapping of XML to Perl data structures for document-oriented XML. The mapping preserves element order but XML comments, processing-instructions, unparsed entities etc. are ignored.

<root>
  <foo>text</foo>
  <bar key="value">
    text
    <doz/>
  </bar>
</root>

is transformed to

[
  "root", { }, [
    [ "foo", { }, "text" ],
    [ "bar", { key => "value" }, [
      "text", 
      [ "doz", { } ]
    ] 
  ]
]

SEE ALSO

XML::Simple, XML::Fast, XML::GenericJSON, XML::Structured

AUTHOR

Jakob Voß

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.