GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       XML::GRDDL::Transformation - represents a transformation

DESCRIPTION

       The interface is a little weird.

   Constructor
       "XML::GRDDL::Transformation->new($turi, $duri, [$grddl])"
           Constructs a new transformation object.

           $turi is the URI of the transformation itself; $duri is the
           document URI, used for sending an HTTP Referer header, and for
           resolving relative URIs found in the document; $grddl is an
           XML::GRDDL object used as a cache between requests, and used for
           its "ua" method.

   Methods
       "$transformation->uri"
           Returns the URI of the transformation.

       "$transformation->transform($xml)"
           Transforms some XML, either an a well-formed XML string, or an
           XML::LibXML::Document. Returns a string.

           If called in list context returns a string, media type pair.

       "$transformation->model($xml)"
           Transforms some XML and then parses the result as RDF. Returns an
           RDF::Trine::Model.

           The intermediate RDF format can be any format supported by
           RDF::RDFa::Parser or RDF::Trine::Parser, including RDF/XML, Turtle
           and XHTML+RDFa.

SEE ALSO

       XML::GRDDL.

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

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.



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.182 seconds. Last modified: November 04 2018 12:49:43.