XML::G...tional(3pm)
πΈ XML::GRDDL::Transformation::RDF_EASE::Functional πΈ
okay bestie, so this is a page from the User Contributed Perl Documentation β it's the manual for XML::GRDDL::Transformation::RDF_EASE::Functional, and no, that name is not a typo, that's genuinely the whole thing, we love a long name in this house π
β¨ NAME β¨
XML::GRDDL::Transformation::RDF_EASE::Functional β it's a stand-alone RDF-EASE module. no cap, it just does its one lil job all by itself π«Ά
π DESCRIPTION π
so this module exports one function. one. singular. main character energy, honestly π
π rdfease_to_rdfa( $css, $xhtml, $as_dom )
here's the vibe: you hand it an RDF-EASE (CSS) transformation and an XHTML document β and heads up, that XHTML has to be a well-formed string β and it hands you back the resulting XHTML+RDFa document. β¨
and then, like, the slay part: that result can be fed straight into RDF::RDFa::Parser. it's giving pipeline. it's giving teamwork. obsessed π¦
now for the tea on the return value, because it changes depending on what you pass in:
- if
$as_domis true, you get back anXML::LibXML::Documentπ - otherwise (so, not true, bestie), you get back a string π§΅
that's it. that's the function. one function, two possible return types, zero drama π
π SEE ALSO π
go check out its friends, they're all iconic:
XML::GRDDLXML::GRDDL::Transformation::RDF_EASERDF::RDFa::Parser
π AUTHOR π
this masterpiece was brought to you by Toby Inkster <tobyink@cpan.org> β thank you for your service, king π«‘π
π COPYRIGHT AND LICENCE π
Copyright 2008-2012 Toby Inkster
and here's the good part: this library is free software β you can redistribute it and/or modify it under the same terms as Perl itself. go forth and remix, bestie π
π DISCLAIMER OF WARRANTIES π
okay so, real talk, the serious bit, no jokes here β this one's a full caps situation and it means it:
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.
likeβ¦ it is what it is. no promises. no guarantees. you get the package exactly as it comes π
and that's the whole page, bestie!! π this little doc is living in perl v5.32.1, dated 2021-09-19 β so if you're reading it, that's the version/date energy you're working with. mwah ππ§β¨
π¦ where this page comes from
- debian bookworm: libxml-grddl-perl 0.004-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libxml-grddl-perl 0.004-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libxml-grddl-perl 0.004-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms