Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

template::declare::tagset::rdf(3pm) [debian man page]

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

NAME
Template::Declare::TagSet::RDF - Template::Declare tag set for RDF SYNOPSIS
# 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" } #... } } }; DESCRIPTION
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'; METHODS
new( PARAMS ) my $html_tag_set = Template::Declare::TagSet->new({ package => 'MyRDF', namespace => 'rdf', }); Constructor inherited from Template::Declare::TagSet. get_tag_list 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. :) AUTHOR
Agent Zhang <agentzh@yahoo.cn> SEE ALSO
Template::Declare::TagSet, Template::Declare::TagSet::HTML, Template::Declare::TagSet::XUL, Template::Declare::Tags, Template::Declare. perl v5.10.1 2010-12-08 Template::Declare::TagSet::RDF(3pm)

Check Out this Related Man Page

Template::Declare::TagSet::XUL(3pm)			User Contributed Perl Documentation		       Template::Declare::TagSet::XUL(3pm)

NAME
Template::Declare::TagSet::XUL - Template::Declare tag set for XUL SYNOPSIS
# normal use on the user side: use base 'Template::Declare'; use Template::Declare::Tags 'XUL'; template main => sub { xml_decl { 'xml', version => '1.0' }; groupbox { caption { attr { label => 'Colors' } } } }; # in Template::Declare::Tags: use Template::Declare::TagSet::XUL; my $tagset = Template::Declare::TagSet::XUL->new({ package => 'MyXUL', namespace => 'xul', }); my $list = $tagset->get_tag_list(); print $_, $/ for @{ $list }; if ( $altern = $tagset->get_alternate_spelling('template') ) { print $altern; } if ( $tagset->can_combine_empty_tags('button') ) { print q{<button label="OK" />}; } DESCRIPTION
Template::Declare::TagSet::XUL defines a full set of XUL tags for use in Template::Declare templates. You generally won't use this module directly, but will load it via: use Template::Declare::Tags 'XUL'; METHODS
new( PARAMS ) my $html_tag_set = Template::Declare::TagSet->new({ package => 'MyXUL', namespace => 'xul', }); Constructor inherited from Template::Declare::TagSet. get_tag_list 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, extracted from <http://www.xulplanet.com/references/elemref/refall_elemref.xml> (only "<element name='...'>" were recognized): "action" "arrowscrollbox" "bbox" "binding" "bindings" "body" "box" "broadcaster" "broadcasterset" "browser" "button" "caption" "checkbox" "children" "colorpicker" "column" "columns" "command" "commandset" "conditions" "constructor" "content" "deck" "description" "destructor" "dialog" "dialogheader" "editor" "field" "getter" "grid" "grippy" "groupbox" "handler" "handlers" "hbox" "iframe" "image" "implementation" "key" "keyset" "label" "listbox" "listcell" "listcol" "listcols" "listhead" "listheader" "listitem" "member" "menu" "menubar" "menuitem" "menulist" "menupopup" "menuseparator" "method" "observes" "overlay" "page" "parameter" "popup" "popupset" "progressmeter" "property" "radio" "radiogroup" "rdf" "resizer" "resources" "richlistbox" "row" "rows" "rule" "script" "scrollbar" "scrollbox" "separator" "setter" "spacer" "splitter" "stack" "statusbar" "statusbarpanel" "stringbundle" "stringbundleset" "stylesheet" "tab" "tabbox" "tabbrowser" "tabpanel" "tabpanels" "tabs" "template" "textbox" "textnode" "titlebar" "toolbar" "toolbarbutton" "toolbargrippy" "toolbaritem" "toolbarpalette" "toolbarseparator" "toolbarset" "toolbarspacer" "toolbarspring" "toolbox" "tooltip" "tree" "treecell" "treechildren" "treecol" "treecols" "treeitem" "treerow" "treeseparator" "triple" "vbox" "window" "wizard" "wizardpage" get_alternate_spelling( TAG ) $bool = $obj->get_alternate_spelling($tag); Returns the alternative spelling for a given tag if any or undef otherwise. Currently, "template" is mapped to "xul_template" to avoid conflict with the "template" function exported by Template::Declare::Tags. AUTHOR
Agent Zhang <agentzh@yahoo.cn> SEE ALSO
Template::Declare::TagSet, Template::Declare::TagSet::HTML, Template::Declare::Tags, Template::Declare. perl v5.10.1 2010-12-08 Template::Declare::TagSet::XUL(3pm)
Man Page