Andrew Main (Zefram) > XML-Easy-0.009 > XML::Easy::Tranform

Download:
XML-Easy-0.009.tar.gz

Annotate this POD

CPAN RT

Open  2
View/Report Bugs
Source  

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 dies 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 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.

syntax highlighting: