Changeset 11789 in project


Ignore:
Timestamp:
08/27/08 23:15:28 (13 years ago)
Author:
sjamaan
Message:

Add headings for all procedures, for easier lookup in the TOC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/sxml-transforms

    r11788 r11789  
    1515
    1616=== sxml-transforms
     17
     18==== SRV:send-reply
    1719
    1820<procedure>(SRV:send-reply . fragments)</procedure>
     
    2628at all; otherwise the result is {{#f}}.  If {{#t}} occurs among the fragments,
    2729it is not written out but causes the result of {{SRV:send-reply}} to be {{#t}}.
     30
     31==== pre-post-order
    2832
    2933<procedure>(pre-post-order tree bindings)</procedure>
     
    7882is re-processed again, with the current stylesheet.
    7983
     84==== post-order
     85
    8086<procedure>(post-order tree bindings)</procedure>
    8187
    8288Deprecated. This was a version of pre-post-order that did not accept
    8389{{*macro*}} or {{*preorder*}} directives.
     90
     91==== foldts
    8492
    8593<procedure>(foldts fdown fup fhere seed tree)</procedure>
     
    98106
    99107foldts returns the final seed
     108
     109==== replace-range
    100110
    101111<procedure>(replace-range beg-pred end-pred forest)</procedure>
     
    132142is marked as the beginning of the range.
    133143
     144==== SXML->HTML
     145
    134146<procedure>(SXML->HTML tree)</procedure>
    135147
     
    144156Content-Type header.
    145157
     158==== entag
     159
    146160<procedure>(entag tag elems)</procedure>
    147161
     
    150164This is an alias for {{entag-xhtml}} (see below, in the section about Chicken-specific modifications)
    151165
     166==== enattr
     167
    152168<procedure>(enattr attr-key value)</procedure>
    153169
    154170Create the HTML markup fragments for attributes. The ATTR-KEY is the name of the attribute (a symbol) and VALUE is the value it should have.
    155171This is used in the node handlers for the (pre-)post-order function, to prepare it for output by {{SRV:send-reply}}.
     172
     173==== string->goodHTML
    156174
    157175<procedure>(string->goodHTML html)</procedure>
     
    161179string, or a list of string fragments with special characters
    162180replaced by appropriate character entities.
     181
     182==== universal-conversion-rules
    163183
    164184<constant>universal-conversion-rules</constant>
     
    170190or add a final pre-post-order processing step with just these bindings.
    171191
     192==== universal-protected-rules
     193
    172194<constant>universal-protected-rules</constant>
    173195
     
    178200fragments has to be traversed one more time.
    179201
     202==== alist-conv-rules
     203
    180204<constant>alist-conv-rules</constant>
    181205
     
    184208unless you explicitly define your own conversion rules for {{*default*}}
    185209and {{*text*}}.
     210
     211==== make-char-quotator
    186212
    187213<procedure>(make-char-quotator quot-rules)</procedure>
     
    205231==== Chicken-specific modifications
    206232
     233==== entag-xhtml
     234
    207235<procedure>(entag-xhtml)</procedure>
    208236
     237{{entag-xhtml}} closes XHTML tags properly in an HTML compatible way.  {{entag}} is now an alias for {{entag-xhtml}}, so this behaviour is the default.
     238
     239Newlines before open tags in the rendered HTML output are omitted for inline elements, such as {{tt}} and {{strong}}.  This prevents the introduction of extraneous whitespace.
     240
     241==== entag-html
     242
    209243<procedure>(entag-html)</procedure>
    210244
    211 {{entag-xhtml}} closes XHTML tags properly in an HTML compatible way.  {{entag}} is now an alias for {{entag-xhtml}}, so this behaviour is the default.
    212245{{entag-html}} is an alias for the original {{entag}}.
    213246
    214 Newlines before open tags in the rendered HTML output are omitted for inline elements, such as {{tt}} and {{strong}}.  This prevents the introduction of extraneous whitespace.
    215 
    216 Also, the {{universal-conversion-rules}} have been augmented a bit:
     247==== universal-conversion-rules
     248
     249The {{universal-conversion-rules}} have been augmented a bit.
    217250
    218251The following rule has been added:
Note: See TracChangeset for help on using the changeset viewer.