XML::Easy::Transform(3pm)

NAME
XML::Easy::Tranform - XML processing with a clean interface

DESCRIPTION
The "XML::Easy::Transform::" namespace exists to contain modules that perform transformations on XML documents, or parts thereof, in the form of XML::Easy::Element and XML::Easy::Content nodes.

XML::Easy is a collection of modules relating to the processing of XML data. It includes functions to parse and serialise the standard textual form of XML. When XML data is not in text form, XML::Easy processes it in an abstract syntax-neutral form, as a collection of linked Perl objects. This in-program data format shields XML users from the infelicities of XML syntax. Modules under the "XML::Easy::Transform::" namespace operate on XML data in this abstract structured form, not on textual XML.

A transformation on XML data should normally be presented in the form of a function, which takes an XML::Easy::Element node as its main parameter, and returns an XML::Easy::Element node (or "die"s on error). The input node and output node each represent the root element of the XML document (or fragment thereof) being transformed. These nodes, of course, contain subordinate nodes, according to the structure of the XML data. A reference to the top node is all that is required to effectively pass the whole document.

OTHER DISTRIBUTIONS
CPAN distributions under this namespace are:

XML::Easy::Transform::RationalizeNamespacePrefixes
    Manages XML Namespaces by hoisting all namespace declarations to the root of a document.

SEE ALSO
XML::Easy

AUTHOR
Andrew Main (Zefram) <zefram@fysh.org>

COPYRIGHT
Copyright (C) 2009, 2010, 2011, 2017 Andrew Main (Zefram) <zefram@fysh.org>

LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.