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.wml =========== Module implementing WML 1.3 =========================== Home > Python software > ll.xist > ns > wml 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 An XIST namespace module that contains definitions for all the elements in WML 1.3. class coreattrs(ll.xist.xsc.Element.Attrs): ============================================ class id(ll.xist.xsc.TextAttr): ================================ class class_(ll.xist.xsc.TextAttr): ==================================== class cardevattrs(ll.xist.xsc.Element.Attrs): ============================================== class onenterforward(ll.xist.xsc.URLAttr): =========================================== class onenterbackward(ll.xist.xsc.URLAttr): ============================================ class ontimer(ll.xist.xsc.URLAttr): ==================================== class allattrs(coreattrs, cardevattrs): ======================================== class DocTypeWML13(ll.xist.xsc.DocType): ========================================= document type for WML 1.3 def __init__(self): ==================== class wml(ll.xist.xsc.Element): ================================ creates a WML deck consisting of one or more cards class Attrs(coreattrs): ======================== class card(ll.xist.xsc.Element): ================================= Defines and names a new card class Attrs(allattrs): ======================= class title(ll.xist.xsc.TextAttr): ----------------------------------- class newcontext(ll.xist.xsc.TextAttr): ---------------------------------------- class ordered(ll.xist.xsc.TextAttr): ------------------------------------- class do(ll.xist.xsc.Element): =============================== Mechanism used to allow user actions within a card class Attrs(coreattrs): ======================== class type(ll.xist.xsc.TextAttr): ---------------------------------- class label(ll.xist.xsc.TextAttr): ----------------------------------- class name(ll.xist.xsc.TextAttr): ---------------------------------- class optional(ll.xist.xsc.BoolAttr): -------------------------------------- class onevent(ll.xist.xsc.Element): ==================================== Specifies an action to be performed when specific events occur class Attrs(coreattrs): ======================== class type(ll.xist.xsc.TextAttr): ---------------------------------- class head(ll.xist.xsc.Element): ================================= Provides information for an entire deck class Attrs(coreattrs): ======================== class template(ll.xist.xsc.Element): ===================================== Specifies a template containing settings that will be used deck wide class Attrs(allattrs): ======================= class access(ll.xist.xsc.Element): =================================== Applies access-control rules to a deck effectively restricting referred access class Attrs(coreattrs): ======================== class domain(ll.xist.xsc.TextAttr): ------------------------------------ class path(ll.xist.xsc.TextAttr): ---------------------------------- class meta(ll.xist.xsc.Element): ================================= Specifies deck-specific meta information within a head block class Attrs(coreattrs): ======================== class name(ll.xist.xsc.TextAttr): ---------------------------------- class http_equiv(ll.xist.xsc.TextAttr): ---------------------------------------- class forua(ll.xist.xsc.TextAttr): ----------------------------------- class content(ll.xist.xsc.TextAttr): ------------------------------------- class scheme(ll.xist.xsc.TextAttr): ------------------------------------ class go(ll.xist.xsc.Element): =============================== Opens a specified URL using GET or POST methods class Attrs(coreattrs): ======================== class href(ll.xist.xsc.URLAttr): --------------------------------- class sendreferer(ll.xist.xsc.TextAttr): ----------------------------------------- class method(ll.xist.xsc.TextAttr): ------------------------------------ class enctype(ll.xist.xsc.TextAttr): ------------------------------------- class cache_control(ll.xist.xsc.TextAttr): ------------------------------------------- class accept_charset(ll.xist.xsc.TextAttr): -------------------------------------------- class prev(ll.xist.xsc.Element): ================================= Returns to the previous card class Attrs(coreattrs): ======================== class refresh(ll.xist.xsc.Element): ==================================== Refreshes (or resets) variables to initial or updated values class Attrs(coreattrs): ======================== class noop(ll.xist.xsc.Element): ================================= Does nothing (as in no operation) class Attrs(coreattrs): ======================== class postfield(ll.xist.xsc.Element): ====================================== Specifies a field and value to be sent to a URL class Attrs(coreattrs): ======================== class name(ll.xist.xsc.TextAttr): ---------------------------------- class value(ll.xist.xsc.TextAttr): ----------------------------------- class setvar(ll.xist.xsc.Element): =================================== Sets a variable to a specified value class Attrs(coreattrs): ======================== class name(ll.xist.xsc.TextAttr): ---------------------------------- class value(ll.xist.xsc.TextAttr): ----------------------------------- class select(ll.xist.xsc.Element): =================================== Displays a list of options for user selection class Attrs(coreattrs): ======================== class title(ll.xist.xsc.TextAttr): ----------------------------------- class name(ll.xist.xsc.TextAttr): ---------------------------------- class value(ll.xist.xsc.TextAttr): ----------------------------------- class iname(ll.xist.xsc.TextAttr): ----------------------------------- class ivalue(ll.xist.xsc.TextAttr): ------------------------------------ class multiple(ll.xist.xsc.TextAttr): -------------------------------------- class tabindex(ll.xist.xsc.IntAttr): ------------------------------------- class optgroup(ll.xist.xsc.Element): ===================================== Groups options together so that the browser can optimize the display appropriately class Attrs(coreattrs): ======================== class title(ll.xist.xsc.TextAttr): ----------------------------------- class option(ll.xist.xsc.Element): =================================== Creates options within a select list class Attrs(coreattrs): ======================== class title(ll.xist.xsc.TextAttr): ----------------------------------- class value(ll.xist.xsc.TextAttr): ----------------------------------- class onpick(ll.xist.xsc.URLAttr): ----------------------------------- class input(ll.xist.xsc.Element): ================================== Prompts for user input which will be saved to a variable class Attrs(coreattrs): ======================== class title(ll.xist.xsc.TextAttr): ----------------------------------- class type(ll.xist.xsc.TextAttr): ---------------------------------- class name(ll.xist.xsc.TextAttr): ---------------------------------- class value(ll.xist.xsc.TextAttr): ----------------------------------- class tabindex(ll.xist.xsc.IntAttr): ------------------------------------- class format(ll.xist.xsc.TextAttr): ------------------------------------ class emptyok(ll.xist.xsc.TextAttr): ------------------------------------- class size(ll.xist.xsc.IntAttr): --------------------------------- class maxlength(ll.xist.xsc.IntAttr): -------------------------------------- class accesskey(ll.xist.xsc.TextAttr): --------------------------------------- class fieldset(ll.xist.xsc.Element): ===================================== Groups input field together so that the browser can optimize the display appropriately class Attrs(coreattrs): ======================== class title(ll.xist.xsc.TextAttr): ----------------------------------- class timer(ll.xist.xsc.Element): ================================== Invokes a timer after a specified amount of inactivity class Attrs(coreattrs): ======================== class name(ll.xist.xsc.TextAttr): ---------------------------------- class value(ll.xist.xsc.TextAttr): ----------------------------------- class img(ll.xist.xsc.Element): ================================ Displays an image in the browser class Attrs(coreattrs): ======================== class alt(ll.xist.xsc.TextAttr): --------------------------------- class src(ll.xist.xsc.URLAttr): -------------------------------- class localsrc(ll.xist.xsc.TextAttr): -------------------------------------- class vspace(ll.xist.xsc.TextAttr): ------------------------------------ class hspace(ll.xist.xsc.TextAttr): ------------------------------------ class align(ll.xist.xsc.TextAttr): ----------------------------------- class height(ll.xist.xsc.TextAttr): ------------------------------------ class width(ll.xist.xsc.TextAttr): ----------------------------------- class anchor(ll.xist.xsc.Element): =================================== Creates an anchor (also called a link) associated with go, prev or refresh tasks. class Attrs(coreattrs): ======================== class title(ll.xist.xsc.TextAttr): ----------------------------------- class accesskey(ll.xist.xsc.TextAttr): --------------------------------------- class a(ll.xist.xsc.Element): ============================== Creates an anchor (also called a link) class Attrs(coreattrs): ======================== class title(ll.xist.xsc.TextAttr): ----------------------------------- class href(ll.xist.xsc.URLAttr): --------------------------------- class accesskey(ll.xist.xsc.TextAttr): --------------------------------------- class table(ll.xist.xsc.Element): ================================== Creates a columnar table providing control over table alignment class Attrs(coreattrs): ======================== class title(ll.xist.xsc.TextAttr): ----------------------------------- class align(ll.xist.xsc.TextAttr): ----------------------------------- class columns(ll.xist.xsc.IntAttr): ------------------------------------ class tr(ll.xist.xsc.Element): =============================== Creates rows within a table class Attrs(coreattrs): ======================== class td(ll.xist.xsc.Element): =============================== Creates cells within table rows class Attrs(coreattrs): ======================== class em(ll.xist.xsc.Element): =============================== Displays all text between and formatted with emphasis class Attrs(coreattrs): ======================== class strong(ll.xist.xsc.Element): =================================== Displays all text between and formatted with strong emphasis class Attrs(coreattrs): ======================== class b(ll.xist.xsc.Element): ============================== Displays all text between and in bold text class Attrs(coreattrs): ======================== class i(ll.xist.xsc.Element): ============================== Displays all text between `` and in italic text class Attrs(coreattrs): ======================== class u(ll.xist.xsc.Element): ============================== Displays all text between and as underlined text class Attrs(coreattrs): ======================== class big(ll.xist.xsc.Element): ================================ Displays all text between and in a large font class Attrs(coreattrs): ======================== class small(ll.xist.xsc.Element): ================================== Displays all text between and in a small font class Attrs(coreattrs): ======================== class p(ll.xist.xsc.Element): ============================== Creates a paragraph, establishing alignment and wrapping for all text within it class Attrs(coreattrs): ======================== class align(ll.xist.xsc.TextAttr): ----------------------------------- class mode(ll.xist.xsc.TextAttr): ---------------------------------- class br(ll.xist.xsc.Element): =============================== Forces a line break class Attrs(coreattrs): ======================== class type(ll.xist.xsc.TextAttr): ---------------------------------- class pre(ll.xist.xsc.Element): ================================ Preformatted text class Attrs(coreattrs): ========================