Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

AxKit::App::TABOO::XSP::Language
Language management tag library for TABOO

AxKit::App::TABOO::XSP::Language - Language management tag library for TABOO


NAME

AxKit::App::TABOO::XSP::Language - Language management tag library for TABOO


SYNOPSIS

Add the language: namespace to your XSP <xsp:page> tag, e.g.:


    <xsp:page

         language="Perl"

         xmlns:xsp="http://apache.org/xsp/core/v1";

         xmlns:language="http://www.kjetil.kjernsmo.net/software/TABOO/NS/Language";

    >

Add this taglib to AxKit (via httpd.conf or .htaccess):


  AxAddXSPTaglib AxKit::App::TABOO::XSP::Language


DESCRIPTION

This XSP taglib provides two tags to retrieve a structured XML fragment with all information of a single language or all languages of a certain type.

the Apache::AxKit::Language::XSP::SimpleTaglib manpage has been used to write this taglib.


Tag Reference

<get-language lang="foo"/>

This tag will replace itself with some structured XML containing all fields of languages of type foo. It relates to the TABOO Data object the AxKit::App::TABOO::Data::Language manpage, and calls on that to do the hard work.

The root element of the returned object is cat:languages and each language is wrapped in an element cat:language and contains lang and name.

<get-languages/>

This tag will replace itself with some structured XML containing all languages. It relates to the TABOO Data object the AxKit::App::TABOO::Data::Plurals::Languages manpage, and calls on that to do the hard work.

The root element of the returned object is languages and each language is wrapped in an element language, and ordered alphabetically by local name.

<exists lang="foo"/>

This tag will check if a language allready exists. It is a boolean tag, which has child elements <true> and <false>. It takes a lang parameter, which may be given as an attribute or a child element named lang, and if the language is found in the data store, the contents of <true> child element is included, otherwise, the contents of <false> is included.


FORMALITIES

See the AxKit::App::TABOO manpage.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy