The xmls Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The xmls Reference Manual

This is the xmls Reference Manual, version 1.7, generated automatically by Declt version 2.3 "Robert April" on Tue Feb 20 09:32:00 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction




XMLS

Summary

Xmls is a small, simple, non-validating xml parser for Common Lisp. It's designed to be a self-contained, easily embedded parser that recognizes a useful subset of the XML spec. It provides a simple mapping from xml to lisp s-expressions and back.

Features

Limitations

XML Representation

Parsed xml is represented as a lisp list. A node is represented as follows:

(name (attributes) children*)

A name is either a simple string, if the element does not belong to a namespace, or a list of (name namespace-url) if the element does belong to a namespace.

Attributes are stored as (name value) lists.

Children are stored as a list of either element nodes or text nodes.

For example, the following xml document:

<?xml version="1.0"?>
<!-- test document -->
<book title='The Cyberiad'>
  <!-- comment in here -->
  <author xmlns='http://authors'>Stanislaw Lem</author>
  <info:subject xmlns:info='http://bookinfo' rank='1'>&quot;Cybernetic Fables&quot;</info:subject>
</book>
Would parse as:
("book" (("title" "The Cyberiad"))
 (("author" . "http://authors") NIL "Stanislaw Lem")
 (("subject" . "http://bookinfo") (("rank" "1")) "\"Cybernetic Fables\""))

Xmls also includes a helper function, make-node for creating xml nodes of this form:

(make-node &key name ns attrs children)

Xmls provides the corresponding accessor functions node-name, node-ns node-attrs, and node-children.

Usage

The interface is straightforward. The two main functions are parse and toxml.

(parse source &key (compress-whitespace t))

Parse accepts either a string or an input stream and attempts to parse the xml document contained therein. It will return the s-expr parse tree if it's successful or nil if parsing fails. If compress-whitespace is t, content nodes will be trimmed of whitespace and empty whitespace strings between nodes will be discarded.

(write-prologue xml-decl doctype stream)

write-prologue writes the leading <?xml ... ?> and <!DOCTYPE ... > elements to stream. xml-decl is an alist of attribute name value pairs. Valid xml-decl attributes per the xml spec are "version", "encoding", and "standalone", though write-prologue does not verify this. doctype is a string containing the document type definition.

(write-prolog xml-decl doctype stream)

U.S. spelling alternative to

write-prologue
.

(write-xml xml stream &key (indent nil))

write-xml accepts a lisp list in the format described above and writes the equivalent xml string to stream. Currently, if nodes use namespaces xmls will not assign namespaces prefixes but will explicitly assign the namespace to each node. This will be changed in a later release. Xmls will indent the generated xml output if indent is non-nil.

(toxml node &key (indent nil))

Toxml is a convenience wrapper around write-xml that returns the in a newly allocated string.

Helper functions

These are intended to allow programmers to avoid direct manipulation of the s-expression representation. If you use these, your code should be easier to read and you will avoid problems if there is a change in internal representation (such changes would be hard to even find, much less correct, if using the lists directly).

make-xmlrep (tag &key attribs children)
Constructor function.
xmlrep-add-child! (xmlrep child)
Add a new child node to the XMLREP node.
xmlrep-tag (xmlrep)
Extract the tag from XMLREP.
xmlrep-tagmatch (tag treenode)
Returns true if TAG is the tag of TREENODE. Match is case insensitive (quite possibly this is the Wrong Thing).
xmlrep-attribs (xmlrep)
Extract the attributes from an XMLREP node.
xmlrep-children (xmlrep)
Extract the children from an XMLREP node.
xmlrep-find-child-tags (tag treenode)
Return all of the (direct) children of TREENODE whose tags are TAG. Matching done by xmlrep-tagmatch.
xmlrep-find-child-tag (tag treenode &optional (if-unfound :error))
Find a single child of TREENODE with TAG. Returns an error if there is more or less than one such child.
xmlrep-string-child (treenode)
Find the single string-valued child of TREENODE. Returns an error if there is more than one child, or if a single child is not string-valued.
xmlrep-integer-child (treenode)
Find the single child of TREENODE whose value is a string that can be parsed into an integer. Returns an error if there is more than one child, or if a single child is not appropriately valued.
xmlrep-attrib-value (attrib treenode &optional (if-undefined :error))
Find the value of ATTRIB, a string, in TREENODE. if there is no ATTRIB, will return the value of IF-UNDEFINED, which defaults to :ERROR.
xmlrep-boolean-attrib-value (attrib treenode &optional (if-undefined :error))
Find the value of ATTRIB, a string, in TREENODE. The value should be either "true" or "false". The function will return T or NIL, accordingly. If there is no ATTRIB, will return the value of IF-UNDEFINED, which defaults to :ERROR.

Installation

xmls can be installed as an asdf system. An asdf system definition is provided with the distribution.

Previous versions of XMLS were single files, and could be installed simply by loading the file xmls.lisp. This option is no longer supported.

Contact Information

Please contact Robert Goldman, rpgoldman AT sift.info with any questions or bug reports.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 xmls

Version

1.7

Source

xmls.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 xmls.asd

Location

xmls.asd

Systems

xmls (system)

Packages

xmls-system

Internal Definitions

xmls-source-file (class)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 xmls/xmls.lisp

Parent

xmls (system)

Location

xmls.lisp

Packages

xmls

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.3 xmls/xmlrep-helpers.lisp

Dependency

xmls.lisp (file)

Parent

xmls (system)

Location

xmlrep-helpers.lisp

Exported Definitions
Internal Definitions

find-attrib (function)


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

4.1 xmls-system

Source

xmls.asd

Use List
Internal Definitions

xmls-source-file (class)


Previous: , Up: Packages   [Contents][Index]

4.2 xmls

Source

xmls.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Functions

Function: debug-off &rest IDS

Stop dbg on the ids. With no ids, stop dbg altogether.

Package

xmls

Source

xmls.lisp (file)

Function: debug-on &rest IDS

Start dbg output on the given ids.

Package

xmls

Source

xmls.lisp (file)

Function: make-node &key NAME NS ATTRS CHILD CHILDREN

Convenience function for creating a new xml node.

Package

xmls

Source

xmls.lisp (file)

Function: make-xmlrep TAG &key ATTRIBS CHILDREN
Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: node-attrs ELEM
Function: (setf node-attrs) ATTRS ELEM
Package

xmls

Source

xmls.lisp (file)

Function: node-children ELEM
Function: (setf node-children) CHILDREN ELEM
Package

xmls

Source

xmls.lisp (file)

Function: node-name ELEM
Package

xmls

Source

xmls.lisp (file)

Function: node-ns ELEM
Function: (setf node-ns) NS ELEM
Package

xmls

Source

xmls.lisp (file)

Function: parse S &key COMPRESS-WHITESPACE

Parses the supplied stream or string into a lisp node tree.

Package

xmls

Source

xmls.lisp (file)

Function: toxml E &key INDENT

Renders a lisp node tree to an xml string.

Package

xmls

Source

xmls.lisp (file)

Function: write-prolog XML-DECL DOCTYPE S
Package

xmls

Source

xmls.lisp (file)

Function: write-prologue XML-DECL DOCTYPE S

Render the leading <?xml ... ?> and <!DOCTYPE ... > tags to an xml stream.

Package

xmls

Source

xmls.lisp (file)

Function: write-xml E S &key INDENT

Renders a lisp node tree to an xml stream. Indents if indent is non-nil.

Package

xmls

Source

xmls.lisp (file)

Function: xmlrep-add-child! XMLREP CHILD
Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: xmlrep-attrib-value ATTRIB TREENODE &optional IF-UNDEFINED

Find the value of ATTRIB, a string, in TREENODE.
if there is no ATTRIB, will return the value of IF-UNDEFINED, which defaults to :ERROR.

Package

xmls

Source

xmlrep-helpers.lisp (file)

Writer

(setf xmlrep-attrib-value) (function)

Function: (setf xmlrep-attrib-value) VALUE ATTRIB TREENODE
Package

xmls

Source

xmlrep-helpers.lisp (file)

Reader

xmlrep-attrib-value (function)

Function: xmlrep-attribs TREENODE
Function: (setf xmlrep-attribs) ATTRIBS TREENODE
Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: xmlrep-boolean-attrib-value ATTRIB TREENODE &optional IF-UNDEFINED

Find the value of ATTRIB, a string, in TREENODE.
The value should be either "true" or "false". The
function will return T or NIL, accordingly. If there is no ATTRIB, will return the value of IF-UNDEFINED, which defaults to :ERROR.

Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: xmlrep-children TREENODE
Function: (setf xmlrep-children) CHILDREN TREENODE
Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: xmlrep-find-child-tag TAG TREENODE &optional IF-UNFOUND

Find a single child of TREENODE with TAG. Returns an error if there is more or less than one such child.

Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: xmlrep-find-child-tags TAG TREENODE

Find all the children of TREENODE with TAG.

Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: xmlrep-integer-child TREENODE
Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: xmlrep-string-child TREENODE
Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: xmlrep-tag TREENODE
Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: xmlrep-tagmatch TAG TREENODE
Package

xmls

Source

xmlrep-helpers.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *char-escapes*
Package

xmls

Source

xmls.lisp (file)

Special Variable: *compress-whitespace*
Package

xmls

Source

xmls.lisp (file)

Special Variable: *dbg-ids*

Identifiers used by dbg

Package

xmls

Source

xmls.lisp (file)

Special Variable: *entities*
Package

xmls

Source

xmls.lisp (file)

Special Variable: *strip-comments*
Package

xmls

Source

xmls.lisp (file)

Special Variable: *test-verbose*
Package

xmls

Source

xmls.lisp (file)

Special Variable: *whitespace*
Package

xmls

Source

xmls.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Symbol macros

Symbol Macro: next-char
Package

xmls

Source

xmls.lisp (file)

Expansion

(xmls::peek-stream (xmls::state-stream xmls::s))


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Macros

Macro: dbg ID FORMAT-STRING &rest ARGS

Print debugging info if (DEBUG ID) has been specified.

Package

xmls

Source

xmls.lisp (file)

Macro: defmatch NAME &rest BODY

Match definition macro that provides a common lexical environment for matchers.

Package

xmls

Source

xmls.lisp (file)

Macro: defrule NAME &rest BODY

Rule definition macro that provides a common lexical environment for rules.

Package

xmls

Source

xmls.lisp (file)

Macro: eat ()

Consumes one character from the input stream.

Package

xmls

Source

xmls.lisp (file)

Macro: match &rest MATCHERS

Attempts to match the next input character with one of the supplied matchers.

Package

xmls

Source

xmls.lisp (file)

Macro: match* &rest SEQUENCE

Matches any occurances of any of the supplied matchers.

Package

xmls

Source

xmls.lisp (file)

Macro: match+ &rest SEQUENCE

Matches one or more occurances of any of the supplied matchers.

Package

xmls

Source

xmls.lisp (file)

Macro: match-seq &rest SEQUENCE

Tries to match the supplied matchers in sequence with characters in the input stream.

Package

xmls

Source

xmls.lisp (file)

Macro: matchfn NAME

Convenience macro for creating an anonymous function wrapper around a matcher macro.

Package

xmls

Source

xmls.lisp (file)

Macro: must &rest BODY

Throws a parse error if the supplied forms do not succeed.

Package

xmls

Source

xmls.lisp (file)

Macro: peek &rest MATCHERS

Looks ahead for an occurance of any of the supplied matchers.

Package

xmls

Source

xmls.lisp (file)

Macro: puke CHAR

The opposite of EAT.

Package

xmls

Source

xmls.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Functions

Function: attr-or-nsdecl S
Package

xmls

Source

xmls.lisp (file)

Function: attr-text-dq C
Package

xmls

Source

xmls.lisp (file)

Function: attr-text-sq C
Package

xmls

Source

xmls.lisp (file)

Function: chardata C
Package

xmls

Source

xmls.lisp (file)

Function: comment S
Package

xmls

Source

xmls.lisp (file)

Function: comment-char C
Package

xmls

Source

xmls.lisp (file)

Function: comment-or-cdata S
Package

xmls

Source

xmls.lisp (file)

Function: comment-or-doctype S
Package

xmls

Source

xmls.lisp (file)

Function: compress-whitespace STR
Package

xmls

Source

xmls.lisp (file)

Function: content S
Package

xmls

Source

xmls.lisp (file)

Function: copy-element INSTANCE
Package

xmls

Source

xmls.lisp (file)

Function: copy-state INSTANCE
Package

xmls

Source

xmls.lisp (file)

Function: digit C
Package

xmls

Source

xmls.lisp (file)

Function: document S
Package

xmls

Source

xmls.lisp (file)

Function: element S
Package

xmls

Source

xmls.lisp (file)

Function: element-p OBJECT
Package

xmls

Source

xmls.lisp (file)

Function: element-type INSTANCE
Function: (setf element-type) VALUE INSTANCE
Package

xmls

Source

xmls.lisp (file)

Function: element-val INSTANCE
Function: (setf element-val) VALUE INSTANCE
Package

xmls

Source

xmls.lisp (file)

Function: end-tag S
Package

xmls

Source

xmls.lisp (file)

Function: escape-for-html STRING

Escapes the characters #\<, #\>, #\’, #\", and #\& for HTML output.

Package

xmls

Source

xmls.lisp (file)

Function: find-attrib ATTRIB TREENODE

Returns the attrib CELL (not the attrib value) from TREENODE, if found. This cell will be a list of length 2, the attrib name (a string) and its value.

Package

xmls

Source

xmlrep-helpers.lisp (file)

Function: generate-xml E S INDENT

Renders a lisp node tree to an xml string stream.

Package

xmls

Source

xmls.lisp (file)

Function: letter C
Package

xmls

Source

xmls.lisp (file)

Function: make-element &key (TYPE TYPE) (VAL VAL)
Package

xmls

Source

xmls.lisp (file)

Function: make-extendable-string &optional SIZE

Creates an adjustable string with a fill pointer.

Package

xmls

Source

xmls.lisp (file)

Function: make-state &key (GOT-DOCTYPE GOT-DOCTYPE) (LINES LINES) (NSSTACK NSSTACK) (STREAM STREAM)
Package

xmls

Source

xmls.lisp (file)

Function: misc S
Package

xmls

Source

xmls.lisp (file)

Function: name S
Package

xmls

Source

xmls.lisp (file)

Function: namechar C
Package

xmls

Source

xmls.lisp (file)

Function: ncname S
Package

xmls

Source

xmls.lisp (file)

Function: ncname-char C
Package

xmls

Source

xmls.lisp (file)

Function: none-or-more S FUNC

Collects any matches of the supplied rule with the input stream.

Package

xmls

Source

xmls.lisp (file)

Function: one-or-more S FUNC

Collects one or more matches of the supplied rule with the input stream.

Package

xmls

Source

xmls.lisp (file)

Function: peek-stream STREAM

Looks one character ahead in the input stream. Serves as a potential hook for character translation.

Package

xmls

Source

xmls.lisp (file)

Function: processing-instruction S
Package

xmls

Source

xmls.lisp (file)

Function: processing-instruction-or-xmldecl S
Package

xmls

Source

xmls.lisp (file)

Function: push-string C STRING

Shorthand function for adding characters to an extendable string.

Package

xmls

Source

xmls.lisp (file)

Function: qname S
Package

xmls

Source

xmls.lisp (file)

Function: read-stream STREAM

Reads a character from the stream, translating entities as it goes.

Package

xmls

Source

xmls.lisp (file)

Function: resolve-entity ENT

Resolves the xml entity ENT to a character. Numeric entities are converted using CODE-CHAR, which only works in implementations that internally encode strings in US-ASCII, ISO-8859-1 or UCS.

Package

xmls

Source

xmls.lisp (file)

Function: resolve-namespace ELEM ENV

Maps the ns prefix to its associated url via the supplied ns env.

Package

xmls

Source

xmls.lisp (file)

Function: start-tag S
Package

xmls

Source

xmls.lisp (file)

Function: state-got-doctype INSTANCE
Function: (setf state-got-doctype) VALUE INSTANCE
Package

xmls

Source

xmls.lisp (file)

Function: state-lines INSTANCE
Function: (setf state-lines) VALUE INSTANCE
Package

xmls

Source

xmls.lisp (file)

Function: state-nsstack INSTANCE
Function: (setf state-nsstack) VALUE INSTANCE
Package

xmls

Source

xmls.lisp (file)

Function: state-p OBJECT
Package

xmls

Source

xmls.lisp (file)

Function: state-stream INSTANCE
Function: (setf state-stream) VALUE INSTANCE
Package

xmls

Source

xmls.lisp (file)

Function: test &optional INTERACTIVE

Run the test suite. If it fails, either return NIL (if INTERACTIVE), otherwise exit with an error exit status.

Package

xmls

Source

xmls.lisp (file)

Function: translate-raw-value RAW-VALUE

Helper function for xml generation.

Package

xmls

Source

xmls.lisp (file)

Function: write-escaped STRING STREAM
Package

xmls

Source

xmls.lisp (file)

Function: ws S
Package

xmls

Source

xmls.lisp (file)

Function: ws-attr-or-nsdecl S
Package

xmls

Source

xmls.lisp (file)

Function: ws-char C
Package

xmls

Source

xmls.lisp (file)

Function: xmldecl S
Package

xmls

Source

xmls.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Generic functions

Generic Function: error-line CONDITION
Package

xmls

Methods
Method: error-line (CONDITION xml-parse-error)
Source

xmls.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.6 Conditions

Condition: xml-parse-error ()
Package

xmls

Source

xmls.lisp (file)

Direct superclasses

error (condition)

Direct methods

error-line (method)

Direct slots
Slot: line
Initargs

:line

Readers

error-line (generic function)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.7 Structures

Structure: element ()

Common return type of all rule functions.

Package

xmls

Source

xmls.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: type
Type

symbol

Readers

element-type (function)

Writers

(setf element-type) (function)

Slot: val
Readers

element-val (function)

Writers

(setf element-val) (function)

Structure: state ()

Represents parser state. Passed among rules to avoid threading issues.

Package

xmls

Source

xmls.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: got-doctype
Readers

state-got-doctype (function)

Writers

(setf state-got-doctype) (function)

Slot: lines
Type

integer

Initform

1

Readers

state-lines (function)

Writers

(setf state-lines) (function)

Slot: nsstack
Readers

state-nsstack (function)

Writers

(setf state-nsstack) (function)

Slot: stream
Readers

state-stream (function)

Writers

(setf state-stream) (function)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.8 Classes

Class: xmls-source-file ()

Component class to quash some ACL warnings.

Package

xmls-system

Source

xmls.asd

Direct superclasses

cl-source-file (class)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   X  
Index Entry  Section

F
File, Lisp, xmls.asd: The xmls<dot>asd file
File, Lisp, xmls/xmlrep-helpers.lisp: The xmls/xmlrep-helpers<dot>lisp file
File, Lisp, xmls/xmls.lisp: The xmls/xmls<dot>lisp file

L
Lisp File, xmls.asd: The xmls<dot>asd file
Lisp File, xmls/xmlrep-helpers.lisp: The xmls/xmlrep-helpers<dot>lisp file
Lisp File, xmls/xmls.lisp: The xmls/xmls<dot>lisp file

X
xmls.asd: The xmls<dot>asd file
xmls/xmlrep-helpers.lisp: The xmls/xmlrep-helpers<dot>lisp file
xmls/xmls.lisp: The xmls/xmls<dot>lisp file

Jump to:   F   L   X  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
A   C   D   E   F   G   L   M   N   O   P   Q   R   S   T   W   X  
Index Entry  Section

(
(setf element-type): Internal functions
(setf element-val): Internal functions
(setf node-attrs): Exported functions
(setf node-children): Exported functions
(setf node-ns): Exported functions
(setf state-got-doctype): Internal functions
(setf state-lines): Internal functions
(setf state-nsstack): Internal functions
(setf state-stream): Internal functions
(setf xmlrep-attrib-value): Exported functions
(setf xmlrep-attribs): Exported functions
(setf xmlrep-children): Exported functions

A
attr-or-nsdecl: Internal functions
attr-text-dq: Internal functions
attr-text-sq: Internal functions

C
chardata: Internal functions
comment: Internal functions
comment-char: Internal functions
comment-or-cdata: Internal functions
comment-or-doctype: Internal functions
compress-whitespace: Internal functions
content: Internal functions
copy-element: Internal functions
copy-state: Internal functions

D
dbg: Internal macros
debug-off: Exported functions
debug-on: Exported functions
defmatch: Internal macros
defrule: Internal macros
digit: Internal functions
document: Internal functions

E
eat: Internal macros
element: Internal functions
element-p: Internal functions
element-type: Internal functions
element-val: Internal functions
end-tag: Internal functions
error-line: Internal generic functions
error-line: Internal generic functions
escape-for-html: Internal functions

F
find-attrib: Internal functions
Function, (setf element-type): Internal functions
Function, (setf element-val): Internal functions
Function, (setf node-attrs): Exported functions
Function, (setf node-children): Exported functions
Function, (setf node-ns): Exported functions
Function, (setf state-got-doctype): Internal functions
Function, (setf state-lines): Internal functions
Function, (setf state-nsstack): Internal functions
Function, (setf state-stream): Internal functions
Function, (setf xmlrep-attrib-value): Exported functions
Function, (setf xmlrep-attribs): Exported functions
Function, (setf xmlrep-children): Exported functions
Function, attr-or-nsdecl: Internal functions
Function, attr-text-dq: Internal functions
Function, attr-text-sq: Internal functions
Function, chardata: Internal functions
Function, comment: Internal functions
Function, comment-char: Internal functions
Function, comment-or-cdata: Internal functions
Function, comment-or-doctype: Internal functions
Function, compress-whitespace: Internal functions
Function, content: Internal functions
Function, copy-element: Internal functions
Function, copy-state: Internal functions
Function, debug-off: Exported functions
Function, debug-on: Exported functions
Function, digit: Internal functions
Function, document: Internal functions
Function, element: Internal functions
Function, element-p: Internal functions
Function, element-type: Internal functions
Function, element-val: Internal functions
Function, end-tag: Internal functions
Function, escape-for-html: Internal functions
Function, find-attrib: Internal functions
Function, generate-xml: Internal functions
Function, letter: Internal functions
Function, make-element: Internal functions
Function, make-extendable-string: Internal functions
Function, make-node: Exported functions
Function, make-state: Internal functions
Function, make-xmlrep: Exported functions
Function, misc: Internal functions
Function, name: Internal functions
Function, namechar: Internal functions
Function, ncname: Internal functions
Function, ncname-char: Internal functions
Function, node-attrs: Exported functions
Function, node-children: Exported functions
Function, node-name: Exported functions
Function, node-ns: Exported functions
Function, none-or-more: Internal functions
Function, one-or-more: Internal functions
Function, parse: Exported functions
Function, peek-stream: Internal functions
Function, processing-instruction: Internal functions
Function, processing-instruction-or-xmldecl: Internal functions
Function, push-string: Internal functions
Function, qname: Internal functions
Function, read-stream: Internal functions
Function, resolve-entity: Internal functions
Function, resolve-namespace: Internal functions
Function, start-tag: Internal functions
Function, state-got-doctype: Internal functions
Function, state-lines: Internal functions
Function, state-nsstack: Internal functions
Function, state-p: Internal functions
Function, state-stream: Internal functions
Function, test: Internal functions
Function, toxml: Exported functions
Function, translate-raw-value: Internal functions
Function, write-escaped: Internal functions
Function, write-prolog: Exported functions
Function, write-prologue: Exported functions
Function, write-xml: Exported functions
Function, ws: Internal functions
Function, ws-attr-or-nsdecl: Internal functions
Function, ws-char: Internal functions
Function, xmldecl: Internal functions
Function, xmlrep-add-child!: Exported functions
Function, xmlrep-attrib-value: Exported functions
Function, xmlrep-attribs: Exported functions
Function, xmlrep-boolean-attrib-value: Exported functions
Function, xmlrep-children: Exported functions
Function, xmlrep-find-child-tag: Exported functions
Function, xmlrep-find-child-tags: Exported functions
Function, xmlrep-integer-child: Exported functions
Function, xmlrep-string-child: Exported functions
Function, xmlrep-tag: Exported functions
Function, xmlrep-tagmatch: Exported functions

G
generate-xml: Internal functions
Generic Function, error-line: Internal generic functions

L
letter: Internal functions

M
Macro, dbg: Internal macros
Macro, defmatch: Internal macros
Macro, defrule: Internal macros
Macro, eat: Internal macros
Macro, match: Internal macros
Macro, match*: Internal macros
Macro, match+: Internal macros
Macro, match-seq: Internal macros
Macro, matchfn: Internal macros
Macro, must: Internal macros
Macro, peek: Internal macros
Macro, puke: Internal macros
make-element: Internal functions
make-extendable-string: Internal functions
make-node: Exported functions
make-state: Internal functions
make-xmlrep: Exported functions
match: Internal macros
match*: Internal macros
match+: Internal macros
match-seq: Internal macros
matchfn: Internal macros
Method, error-line: Internal generic functions
misc: Internal functions
must: Internal macros

N
name: Internal functions
namechar: Internal functions
ncname: Internal functions
ncname-char: Internal functions
node-attrs: Exported functions
node-children: Exported functions
node-name: Exported functions
node-ns: Exported functions
none-or-more: Internal functions

O
one-or-more: Internal functions

P
parse: Exported functions
peek: Internal macros
peek-stream: Internal functions
processing-instruction: Internal functions
processing-instruction-or-xmldecl: Internal functions
puke: Internal macros
push-string: Internal functions

Q
qname: Internal functions

R
read-stream: Internal functions
resolve-entity: Internal functions
resolve-namespace: Internal functions

S
start-tag: Internal functions
state-got-doctype: Internal functions
state-lines: Internal functions
state-nsstack: Internal functions
state-p: Internal functions
state-stream: Internal functions

T
test: Internal functions
toxml: Exported functions
translate-raw-value: Internal functions

W
write-escaped: Internal functions
write-prolog: Exported functions
write-prologue: Exported functions
write-xml: Exported functions
ws: Internal functions
ws-attr-or-nsdecl: Internal functions
ws-char: Internal functions

X
xmldecl: Internal functions
xmlrep-add-child!: Exported functions
xmlrep-attrib-value: Exported functions
xmlrep-attribs: Exported functions
xmlrep-boolean-attrib-value: Exported functions
xmlrep-children: Exported functions
xmlrep-find-child-tag: Exported functions
xmlrep-find-child-tags: Exported functions
xmlrep-integer-child: Exported functions
xmlrep-string-child: Exported functions
xmlrep-tag: Exported functions
xmlrep-tagmatch: Exported functions

Jump to:   (  
A   C   D   E   F   G   L   M   N   O   P   Q   R   S   T   W   X  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
G   L   N   S   T   V  
Index Entry  Section

*
*char-escapes*: Internal special variables
*compress-whitespace*: Internal special variables
*dbg-ids*: Internal special variables
*entities*: Internal special variables
*strip-comments*: Internal special variables
*test-verbose*: Internal special variables
*whitespace*: Internal special variables

G
got-doctype: Internal structures

L
line: Internal conditions
lines: Internal structures

N
next-char: Internal symbol macros
nsstack: Internal structures

S
Slot, got-doctype: Internal structures
Slot, line: Internal conditions
Slot, lines: Internal structures
Slot, nsstack: Internal structures
Slot, stream: Internal structures
Slot, type: Internal structures
Slot, val: Internal structures
Special Variable, *char-escapes*: Internal special variables
Special Variable, *compress-whitespace*: Internal special variables
Special Variable, *dbg-ids*: Internal special variables
Special Variable, *entities*: Internal special variables
Special Variable, *strip-comments*: Internal special variables
Special Variable, *test-verbose*: Internal special variables
Special Variable, *whitespace*: Internal special variables
stream: Internal structures
Symbol Macro, next-char: Internal symbol macros

T
type: Internal structures

V
val: Internal structures

Jump to:   *  
G   L   N   S   T   V  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   E   P   S   X  
Index Entry  Section

C
Class, xmls-source-file: Internal classes
Condition, xml-parse-error: Internal conditions

E
element: Internal structures

P
Package, xmls: The xmls package
Package, xmls-system: The xmls-system package

S
state: Internal structures
Structure, element: Internal structures
Structure, state: Internal structures
System, xmls: The xmls system

X
xml-parse-error: Internal conditions
xmls: The xmls system
xmls: The xmls package
xmls-source-file: Internal classes
xmls-system: The xmls-system package

Jump to:   C   E   P   S   X