xo::require_html_procs (public)
xo::require_html_procs
Defined in packages/xotcl-core/tcl/html-procs.tcl
Declare Tcl commands for building HTML elements
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- test_misc_core, create_workflow_with_instance
Source code: if {[info commands ::html::a] eq ""} { namespace eval ::html { # Declare Tcl commands for building HTML elements. This is a complete # set taken from W3C on http://www.w3.org/TR/html4/index/elements.html # # If the following flag is set to false, tDOM makes no checks # for valid XML character encodings. In particular, XML does not # allow characters below 0x20 besides #x9 | #xA | #xD (see XML # 1.0 fourth edition http://www.w3.org/TR/REC-xml/) although # these are valid UTF-8 characters (see rfc3629 or rfc2279). In # other words, XML does not accept all valid UTF-8 strings. HTML # does not seem to have this limitation. # # CAUTION: Notice that when this flag is set, tDOM accepts # invalid XML characters even in XML documents. If the tDOM # tree is generated in XML and send to a different parser, a # thorough XML parser will reject the document. So, this flag # has to be used with caution. # # However, when the flag is not set, tDOM complains about # invalid input, so it would be necessary to strip all invalid # XML characters via string map etc., which is not nice # in the code and bad performance wise. dom setTextCheck false # # Miscellaneous commands. Not part of html specs # but needed for generation of special dom nodes. # dom createNodeCmd cdataNode cdata dom createNodeCmd textNode t dom createNodeCmd commentNode c dom createNodeCmd parserNode x dom createNodeCmd piNode runtime # # Command generating HTML tags. All these commands have # following syntax: <cmd> ?-option value ...? ?script? # # -option name of HTML attribute # value attribute value # script Tcl script to run in command's context. # # Example: table -border 1 {...} # dom createNodeCmd elementNode a dom createNodeCmd elementNode abbr dom createNodeCmd elementNode acronym dom createNodeCmd elementNode address dom createNodeCmd elementNode applet dom createNodeCmd elementNode area dom createNodeCmd elementNode b dom createNodeCmd elementNode base dom createNodeCmd elementNode basefont dom createNodeCmd elementNode bdo dom createNodeCmd elementNode big dom createNodeCmd elementNode blockquote dom createNodeCmd elementNode body dom createNodeCmd elementNode br dom createNodeCmd elementNode button dom createNodeCmd elementNode caption dom createNodeCmd elementNode center dom createNodeCmd elementNode cite dom createNodeCmd elementNode code dom createNodeCmd elementNode col dom createNodeCmd elementNode colgroup dom createNodeCmd elementNode dd dom createNodeCmd elementNode del dom createNodeCmd elementNode dfn dom createNodeCmd elementNode dir dom createNodeCmd elementNode div dom createNodeCmd elementNode dl dom createNodeCmd elementNode dt dom createNodeCmd elementNode em dom createNodeCmd elementNode fieldset dom createNodeCmd elementNode font dom createNodeCmd elementNode form dom createNodeCmd elementNode frame dom createNodeCmd elementNode frameset dom createNodeCmd elementNode h1 dom createNodeCmd elementNode h2 dom createNodeCmd elementNode h3 dom createNodeCmd elementNode h4 dom createNodeCmd elementNode h5 dom createNodeCmd elementNode h6 dom createNodeCmd elementNode head dom createNodeCmd elementNode hr dom createNodeCmd elementNode html dom createNodeCmd elementNode i dom createNodeCmd elementNode iframe dom createNodeCmd elementNode img dom createNodeCmd elementNode input dom createNodeCmd elementNode ins dom createNodeCmd elementNode isindex dom createNodeCmd elementNode kbd dom createNodeCmd elementNode label dom createNodeCmd elementNode legend dom createNodeCmd elementNode li dom createNodeCmd elementNode link dom createNodeCmd elementNode map dom createNodeCmd elementNode menu dom createNodeCmd elementNode meta dom createNodeCmd elementNode noframes dom createNodeCmd elementNode noscript dom createNodeCmd elementNode object dom createNodeCmd elementNode ol dom createNodeCmd elementNode optgroup dom createNodeCmd elementNode option dom createNodeCmd elementNode p dom createNodeCmd elementNode param dom createNodeCmd elementNode pre dom createNodeCmd elementNode q dom createNodeCmd elementNode s dom createNodeCmd elementNode samp dom createNodeCmd elementNode script dom createNodeCmd elementNode select dom createNodeCmd elementNode small dom createNodeCmd elementNode span dom createNodeCmd elementNode strike dom createNodeCmd elementNode strong dom createNodeCmd elementNode style dom createNodeCmd elementNode sub dom createNodeCmd elementNode sup dom createNodeCmd elementNode table dom createNodeCmd elementNode tbody dom createNodeCmd elementNode td dom createNodeCmd elementNode textarea dom createNodeCmd elementNode tfoot dom createNodeCmd elementNode th dom createNodeCmd elementNode thead dom createNodeCmd elementNode title dom createNodeCmd elementNode tr dom createNodeCmd elementNode tt dom createNodeCmd elementNode u dom createNodeCmd elementNode ul dom createNodeCmd elementNode var # # HTML5 elements (http://www.w3.org/TR/html5/index.html#elements-1) # dom createNodeCmd elementNode article dom createNodeCmd elementNode aside dom createNodeCmd elementNode audio dom createNodeCmd elementNode bdi dom createNodeCmd elementNode canvas dom createNodeCmd elementNode data dom createNodeCmd elementNode datalist dom createNodeCmd elementNode details dom createNodeCmd elementNode dialog dom createNodeCmd elementNode embed dom createNodeCmd elementNode figcaption dom createNodeCmd elementNode figure dom createNodeCmd elementNode footer dom createNodeCmd elementNode header dom createNodeCmd elementNode keygen dom createNodeCmd elementNode main dom createNodeCmd elementNode mark dom createNodeCmd elementNode meter dom createNodeCmd elementNode nav dom createNodeCmd elementNode output dom createNodeCmd elementNode progress dom createNodeCmd elementNode rb dom createNodeCmd elementNode rp dom createNodeCmd elementNode rt dom createNodeCmd elementNode rtc dom createNodeCmd elementNode ruby dom createNodeCmd elementNode section dom createNodeCmd elementNode source dom createNodeCmd elementNode summary dom createNodeCmd elementNode template dom createNodeCmd elementNode time dom createNodeCmd elementNode track dom createNodeCmd elementNode video dom createNodeCmd elementNode wbr } namespace eval ::tmpl { dom createNodeCmd -returnNodeCmd elementNode div dom createNodeCmd -returnNodeCmd elementNode body } namespace eval :: { namespace import -force ::html::* namespace import -force ::tmpl::* } }XQL Not present: Generic, PostgreSQL, Oracle