Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Template::Declare::TagUser:Contributed PeTemplate::Declare::TagSet::RDF::EM(3)

NAME
       Template::Declare::TagSet::RDF::EM - Template::Declare TAG set for
       Mozilla's em-rdf

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

	   template foo	=> sub {
	       RDF {
		   attr	{
		       'xmlns' => "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
		       'xmlns:em' => 'http://www.mozilla.org/2004/em-rdf#'
		   }
		   Description {
		       attr { about => 'urn:mozilla:install-manifest' }
		       em::id {	'foo@bar.com' }
		       em::version { '1.2.0' }
		       em::type	{ '2' }
		       em::creator { 'Agent Zhang' }
		   }
	       }
	   };

DESCRIPTION
       Template::Declare::TagSet::RDF::EM defines a full set of	Mozilla	EM-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::EM';

METHODS
   new(	PARAMS )
	   my $html_tag_set = Template::Declare::TagSet->new({
	       package	 => 'EmRDF',
	       namespace => 'em-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:

       "aboutURL"
       "contributor"
       "creator"
       "description"
       "developer"
       "file"
       "hidden"
       "homepageURL"
       "iconURL"
       "id"
       "locale"
       "localized"
       "maxVersion"
       "minVersion"
       "name"
       "optionsURL"
       "package"
       "requires"
       "skin"
       "targetApplication"
       "targetPlatform"
       "translator"
       "type"
       "updateURL"
       "version"

       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::RDF,
       Template::Declare::TagSet::XUL, Template::Declare::Tags,
       Template::Declare.

perl v5.32.1			  2014-12Template::Declare::TagSet::RDF::EM(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Template::Declare::TagSet::RDF::EM&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help