Version 1.0
The library uHTML::uTags provides tags and functions to check the existence of an particular uHTML-tag or function. This library is thought mainly as a debug tool for the designer and rarely of practical use in working websites.
Requirements
The uHTML::uTags library requires the uHTML::listfuncs library and the main uHTML library.
The ListTags tag lists all uHTML tags with associated program code.
The attribute head defines the text preceding the tag list.
The attribute join defines the text between two consecutive tag names.
The attribute tail defines the text following the tag list.
<ListTags head="Known tags: " join=", " tail=".">
The ListVars tag lists all known uHTML attribute variables.
The attribute head defines the text preceding the variables list.
The attribute join defines the text between two consecutive variables names.
The attribute tail defines the text following the variables list.
<ListVars head="Known variables: " join=", " tail=".">
The TestTag tag tests if a particular uHTML tag has program code associated with it.
Name of the tested tag.
Message displayed in case the tag name has code connected to it.
<TestTag name="if" msg="<b>if</b> is defined.">
The TestVar tag tests if a particular uHTML attribute variable is known.
Name of the tested variable.
Message displayed in case the variable name is known.
<TestVar name="RepeatValue" msg="<b>RepeatValue</b> is defined as variable.">
The ListTags function returns a list of all uHTML tags associated with program code.
The parameter head defines the text preceding the tag list.
The parameter join defines the text between two consecutive tag names.
The parameter tail defines the text following the tag list.
<uList elements="$ListTags('',',','')"> ... </uList>
The ListVars function returns a list of all known uHTML attribute variables.
The parameter head defines the text preceding the variables list.
The parameter join defines the text between two consecutive variables names.
The parameter tail defines the text following the variables list.
<uList elements="$ListVars('',',','')"> ... </uList>
The $TestTag function tests if a particular uHTML tag has program code associated with it.
Value returned in case the tag name has code connected to it.
<if cond="$TestTag(include,1)">Tag "include" is defined.</if>
The $TestVar function tests if a particular uHTML attribute variable is known.
Name of the tested attribute variable.
Value returned in case the attribute variable name is known.
<if cond="$TestVar(RepeatValue,1)">RepeatValue is defined.</if>
perl(1), uHTML, uHTML::ListFuncs, http://www.uhtml.de/en/doc/uTags.uhtml
Roland Mosler (Roland.Mosler@Place.Ug)
Copyright 2009 Roland Mosler. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install uHTMLnode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm uHTMLnode
CPAN shell
perl -MCPAN -e shell install uHTMLnode
For more information on module installation, please visit the detailed CPAN module installation guide.