DESCRIPTION

The interface is a little weird.

Constructor

Constructs a new transformation object. $turi is the \s-1URI\s0 of the transformation itself; $duri is the document \s-1URI\s0, used for sending an \s-1HTTP\s0 Referer header, and for resolving relative URIs found in the document; $grddl is an \s-1XML::GRDDL\s0 object used as a cache between requests, and used for its \*(C`ua\*(C' method.

Methods

Returns the \s-1URI\s0 of the transformation. Transforms some \s-1XML\s0, either an a well-formed \s-1XML\s0 string, or an XML::LibXML::Document. Returns a string. If called in list context returns a string, media type pair. Transforms some \s-1XML\s0 and then parses the result as \s-1RDF\s0. Returns an RDF::Trine::Model. The intermediate \s-1RDF\s0 format can be any format supported by RDF::RDFa::Parser or RDF::Trine::Parser, including \s-1RDF/XML\s0, Turtle and XHTML+RDFa.

RELATED TO XML::GRDDL::Transformation…

\s-1XML::GRDDL\s0.

XML::GRDDL::Transformation::XSLT_1, XML::GRDDL::Transformation::RDF_EASE.

AUTHOR

Toby Inkster <[email protected]>.

COPYRIGHT AND LICENCE

Copyright 2008-2012 Toby Inkster

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

DISCLAIMER OF WARRANTIES

\s-1THIS\s0 \s-1PACKAGE\s0 \s-1IS\s0 \s-1PROVIDED\s0 \*(L"\s-1AS\s0 \s-1IS\s0\*(R" \s-1AND\s0 \s-1WITHOUT\s0 \s-1ANY\s0 \s-1EXPRESS\s0 \s-1OR\s0 \s-1IMPLIED\s0 \s-1WARRANTIES\s0, \s-1INCLUDING\s0, \s-1WITHOUT\s0 \s-1LIMITATION\s0, \s-1THE\s0 \s-1IMPLIED\s0 \s-1WARRANTIES\s0 \s-1OF\s0 \s-1MERCHANTIBILITY\s0 \s-1AND\s0 \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0.