Link: start Link: parent Link: First page in set (first) Link: Previous page (previous) Link: Next page (next) Link: Last page in set (last) Link: A plain text version of this page (alternate) Link: The XIST source of this page (alternate) Link: The Python module described in this page (alternate) XIST.ns.kid =========== Namespace module for Kid templates ================================== Home > Python software > ll.xist > ns > kid Text · XIST · Python Python softwarelist of projects * ll.xistAn extensible XML/HTML generator * ExamplesParsing/creating/modifying XML; Traversing XML trees * HowtoExplains parsing/generating XML files, XML transformations via XIST classes and other basic concepts. * SearchingHow to iterate through XIST trees * TransformationHow to transform XIST trees * Advanced topicsPool chaining, converter contexts, validation * MiscellaneousExplains various odds and ends of XIST * xscXIST core classes * nsPackage containing namespace modules * htmlHTML namespace * xmlNamespace implementing global XML attributes * wmlWML 1.3 namespace * ihtmlNamespace implementing i-mode compatible HTML * docbookNamespace implementing DocBook 4.3 * svgNamespace implementing SVG 1.0 * abbrNamespace containing abbreviation entities * codeNamespace for embedding Python code in XML * formNamespace implementing form related elements * phpNamespace for PHP processing instructions * jspNamespace for JSP code as processing instructions * metaNamespace containing meta information elements * rubyNamespace implementing the W3C ruby draft * specialsCommon useful elements * htmlspecialsCommon useful elements for HTML generation * docNamespace for automated documentation generation * kidNamespace for Kid templates * detoxNamespace for detox templates * toxicEmbed PL/SQL in XIST XML * rngNamespace for Relax NG * rss091Namespace for RSS 0.91 * rss20Namespace for RSS 2.0 * atomNamespace for Atom 1.0 * struts_htmlNamespace for Jakarta Struts HTML tags * struts_configNamespace for Jakarta Struts configuration file tags * parseParsing XML * presentScreen output of XML trees * simsSimple schema validation * xfindTree iteration and filtering * cssCSS related functions * scriptsScripts for text conversion and creating XIST namespaces * HistoryChangeLog for XIST * InstallationHow to install and configure XIST * MigrationHow to update your code to new versions of XIST * Mailing listsHow to subscribe to the XIST mailing lists * ll.ul4cA templating language * ll.urlRFC 2396 compliant URLs * ll.makeObject oriented make replacement * ll.daemonForking daemon processes * ll.sisyphusWriting cron jobs with Python * ll.colorRGB color values and color model conversion * ll.miscMisc utility functions and classes * ll.orasqlUtilities for cx_Oracle * ll.nightshadeServe the output of Oracle functions/procedures with CherryPy * ll.scriptsScripts for UL4 template rendering and URL handling * AploraLogging Apache HTTP requests to an Oracle database * PycocoPython code coverage * DownloadLinks to Windows and Linux, source and binary distributions * Source codeAccess to the Mercurial repositories This module is an XIST namespace for Kid files. class Attrs(ll.xist.xsc.Element.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.