GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Template::Declare::TagSet::RDF(3) User Contributed Perl Documentation Template::Declare::TagSet::RDF(3)

Template::Declare::TagSet::RDF - Template::Declare tag set for RDF

    # normal use on the user side:
    use base 'Template::Declare';
    use Template::Declare::Tags RDF => { namespace => 'rdf' };

    template foo => sub {
        rdf::RDF {
            attr { 'xmlns:rdf' => "http://www.w3.org/1999/02/22-rdf-syntax-ns#" }
            rdf::Description {
                attr { about => "Matilda" }
                #...
            }
        }
    };

Template::Declare::TagSet::RDF defines a full set of RDF tags for use in Template::Declare templates. You generally won't use this module directly, but will load it via:

    use Template::Declare::Tags 'RDF';

    my $html_tag_set = Template::Declare::TagSet->new({
        package   => 'MyRDF',
        namespace => 'rdf',
    });

Constructor inherited from Template::Declare::TagSet.

    my $list = $tag_set->get_tag_list();

Returns an array ref of all the RDF tags defined by Template::Declare::TagSet::RDF. Here is the complete list:

"Alt"
"Bag"
"Description"
"List"
"Property"
"RDF"
"Seq"
"Statement"
"XMLLiteral"
"about"
"li"
"first"
"nil"
"object"
"predicate"
"resource"
"rest"
"subject"
"type"
"value"
"_1"
"_2"
"_3"
"_4"
"_5"
"_6"
"_7"
"_8"
"_9"
"_10"

This list may be not exhaustive; if you find some important missing ones, please let us know. :)

Agent Zhang <agentzh@yahoo.cn>

Template::Declare::TagSet, Template::Declare::TagSet::HTML, Template::Declare::TagSet::XUL, Template::Declare::Tags, Template::Declare.
2014-12-12 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.