HomePython softwarell.xistnskid

XIST.ns.kid

Namespace module for Kid templates

This module is an XIST namespace for Kid files.

class Attrs​(ll.xist.xsc.Attrs):

Global attributes.

class for_​(ll.xist.xsc.TextAttr):

The for_ attribute may appear on any element to signify that the element should be processed multiple times, once for each value in the sequence specified.

class if_​(ll.xist.xsc.TextAttr):

The if_ attribute may appear on any element to signify that the element and its decendant items should be output only if the boolean expression specified evaluates to true in Python.

class content​(ll.xist.xsc.TextAttr):

This attribute may appear on any element to signify that the decendant items of the element are to be replaced with the result of evaluating the attribute content as a Python expression.

class replace​(ll.xist.xsc.TextAttr):

replace is shorthand for specifying a content and a strip="True" on the same element.

class strip​(ll.xist.xsc.TextAttr):

The strip attribute may apppear on any element to signify that the containing element should not be output.

class attrs​(ll.xist.xsc.TextAttr):

The attrs attribute may appear on any element to specify a set of attributes that should be set on the element when it is processed.

class def_​(ll.xist.xsc.TextAttr):

The def_ attribute may appear on any element to create a "Named Template Function".

class match​(ll.xist.xsc.TextAttr):

The match attribute may appear on any element to create a "Match Template".

class extends​(ll.xist.xsc.TextAttr):

The extends attribute may appear on the root element to specify that the template should inherit the Named Template Functions and Match Templates defined in another template (or set of templates).

class python​(ll.xist.xsc.ProcInst):

The python processing instruction contains Python code.

Alternate versions   Text   XIST   Python