TAL templates are xml and use xml's namespace mechanism for defining the mapping from names to attribute and tag handlers. Templates are always compiled with the default namespace bound to the package :it.bese.yaclml.tags, this allows all the standard HTML tags to be used without problems. The namespace identifier http://common-lisp.net/project/bese/tal/core can be used to specify the :it.bese.yaclml.tal package which contains all the standard TAL tags and attributes. If it is necessary the :it.bese.yaclml.tags namespace can be accessed via "http://common-lisp.net/project/bese/yaclml/core". Parameters passed to included templates need to use the "http://common-lisp.net/project/bese/tal/params" name space.
Variable *URI-TO-PACKAGE* Default mapping of xmlns to packages.
Variable *EXPRESSION-PACKAGE* The value of *PACKAGE* when tal attribute expressions and for looking up symbols in the environment.
Macro DEF-ATTRIBUTE-HANDLER Defines a new attribute handler name ATTRIBUTE.
Macro DEF-TAG-HANDLER Defines a new tag handlec named TAG-NAME.
(def-special-environment tal-compile-environment () generator)
Function $ tal reader The $ char reader for tal expressions.
Function READ-TAL-EXPRESSION-FROM-STRING Reads a single form from the string EXPRESSION using the TAL expression read table.
Function PARSE-TAL-ATTRIBUTE-VALUE Parser a TAL attribute expression, returns a form for building the expression at run time.
Function TRANSFORM-LXML-TREE Given a tree representing some LXML code with TAL attributes returns the yaclml tag using code for generating the HTML.
Function TRANSFORM-LXML-FORM Transforms the lxml tree FORM into common lisp code (a series of calls to tag macros).
Function COMPILE-TAL-STRING-TO-LAMBDA Returns the source code for the tal function form the tal text STRING.