The library 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.
To install the module project local, copy it into the uHTML
subdirectory of the
script-directory of the website. To install it globally, copy it into the uHTML
subdirectory of a perl-library directory.
It is allowed to use this library under the actual GNU General Public License. The name of this library and it's author is to be named in all derivations.
The uTags library requires the uHTML::listfuncs library and the main uHTML library.
uTags
libraryListTags, ListVars, TestTag, TestVar
uTags
libraryListTags, ListVars, TestTag, TestVar
std
libraryThe ListTags tag lists all uHTML tags with associated program code.
head="text"
head
defines the text preceding the tag list.
join="text"
join
defines the text between two consecutive tag names.
tail="text"
tail
defines the text following the tag list.
head="Known tags: "
join=", "
tail="."
>
The ListVars tag lists all known uHTML attribute variables.
head="text"
head
defines the text preceding the variables list.
join="text"
join
defines the text between two consecutive variables names.
tail="text"
tail
defines the text following the variables list.
head="Known variables: "
join=", "
tail="."
>
The TestTag tag tests if a particular uHTML tag has program code associated with it.
name="text"
msg="text"
name
has code connected to it.
name="if"
msg="<b>if</b> is defined."
>
The TestVar tag tests if a particular uHTML attribute variable is known.
name="text"
msg="text"
name
is known.
name="RepeatValue"
msg="<b>RepeatValue</b> is defined as variable."
>
uTags
libraryThe ListTags function returns a list of all uHTML tags associated with program code.
head
head
defines the text preceding the tag list.
join
join
defines the text between two consecutive tag names.
tail
tail
defines the text following the tag list.
elements="$ListTags('',',','')"
>The ListVars function returns a list of all known uHTML attribute variables.
head
head
defines the text preceding the variables list.
join
join
defines the text between two consecutive variables names.
tail
tail
defines the text following the variables list.
elements="$ListVars('',',','')"
>