Toby Inkster

NAME

XML::GRDDL::Transformation::RDF_EASE::Functional - stand-alone RDF-EASE module

DESCRIPTION

This module exports one function:

rdfease_to_rdfa( $css, $xhtml, $as_dom )

Takes an RDF-EASE (CSS) transformation and an XHTML document (well-formed string) and returns the resulting XHTML+RDFa document, which can then be fed to RDF::RDFa::Parser.

If $as_dom is true, returns an XML::LibXML::Document; otherwise, a string.

SEE ALSO

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

RDF::RDFa::Parser.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

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

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.