WebIt! Reference Manual [Draft]

Jim Bender

Version: WebIt! 2.0
Last update: 24 April 2005

WebIt! is a framework for manipulating XML in Scheme. The main features of WebIt! are: an XML pattern matching system based on that of Scheme's syntax-rules and syntax-case macro systems, and a macro-style transformation system. An Abstract Data Type (ADT) for manipulating the XML Infoset is also provided. (The concrete representation of XML used by WebIt!, internally, is SXML.) Lastly, an embedding in Scheme of Cascading Stylesheets (CSS) is provided.

 

Table of Contents

I Module "xml.ss"

  1 Defining XML Element and Attribute Types

    1.1 define-element

    1.2 define-attribute

  2 Pattern Matching of XML

    2.1 xml-match

    2.2 xml-match-let and xml-match-let*

  3 XML Transformation

    3.1 stylesheet

    3.2 xml-micro

    3.3 xml-macro

    3.4 stylesheet->expander

    3.5 compound-stylesheet

    3.6 Example

  4 Output Functions

    4.1 write-xml

    4.2 display-xml

    4.3 servlet-result

  5 XML Infoset Mapping

    5.1 Normalized and Non-Normalized SXML

      5.1.1 normalized-sxml

    5.2 Constructing and Analyzing XML Document Nodes

      5.2.1 make-xml-document

      5.2.2 xml-document?

      5.2.3 xml-document-dtd-info

      5.2.4 xml-document-content

      5.2.5 xml-document-body

    5.3 Constructing and Analyzing XML Element Nodes

      5.3.1 make-xml-element

      5.3.2 make-xml-element/ns

      5.3.3 xml-element?

      5.3.4 xml-element-tag

      5.3.5 xml-element-local-name

      5.3.6 xml-element-ns-uri

      5.3.7 xml-element-ns-list

      5.3.8 xml-element-attributes

      5.3.9 xml-element-contents

    5.4 Constructing and Analyzing XML Attribute Nodes

      5.4.1 make-xml-attribute

      5.4.2 xml-attribute-tag

      5.4.3 xml-attribute-local-name

      5.4.4 xml-attribute-ns-uri

      5.4.5 xml-attribute-value

    5.5 Constructing and Analyzing XML Comment Nodes

      5.5.1 make-xml-comment

      5.5.2 xml-comment?

      5.5.3 xml-comment-text

    5.6 Constructing and Analyzing XML Processing Instruction Nodes

      5.6.1 make-xml-pi

      5.6.2 xml-pi?

      5.6.3 xml-pi-target

      5.6.4 xml-pi-text

    5.7 Constructing and Analyzing XML Entity Nodes

      5.7.1 make-xml-entity

      5.7.2 xml-entity?

      5.7.3 xml-entity-public-id

      5.7.4 xml-entity-system-id

    5.8 Constructing and Analyzing XML Namespace Binding Nodes

      5.8.1 make-xml-ns-binding

      5.8.2 xml-ns-binding-prefix

      5.8.3 xml-ns-binding-ns-url

    5.9 Constructing and Analyzing DTD Information Nodes

      5.9.1 make-xml-dtd-info

      5.9.2 xml-dtd-info?

      5.9.3 xml-dtd-info-name

      5.9.4 xml-dtd-info-system

      5.9.5 make-xml-dtd-info/public

      5.9.6 xml-dtd-info/public?

      5.9.7 xml-dtd-info/public-public

    5.10 Miscellaneous

      5.10.1 nodeset?

      5.10.2 has-attribute?

      5.10.3 bind-namespaces

  6 Deprecated Functions and Syntax

II Module "css.html"

  css

III Module "scm-markup.html"

  scm->html

  scm-prog->html

  10 Controlling Font Selection and Coloring

 

 

Last modified: Sunday, April 24th, 2005 2:52:27pm
HTML generated using WebIt!.