The xmls Reference Manual

This is the xmls Reference Manual, version 3.3.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Thu Feb 15 07:54:16 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 xmls

Maintainer

Robert P. Goldman <>

License

BSD

Version

3.3.0

Source

xmls.asd.

Child Components

3 Files

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


3.1 Lisp


3.1.1 xmls/xmls.asd

Source

xmls.asd.

Parent Component

xmls (system).

ASDF Systems

xmls.

Packages

xmls-system.

Internals

xmls-source-file (class).


3.1.2 xmls/xmls.lisp

Source

xmls.asd.

Parent Component

xmls (system).

Packages

xmls.

Public Interface
Internals

3.1.3 xmls/xmlrep-helpers.lisp

Dependency

xmls.lisp (file).

Source

xmls.asd.

Parent Component

xmls (system).

Public Interface
Internals

find-attrib (function).


3.1.4 xmls/extract-path.lisp

Dependency

xmls.lisp (file).

Source

xmls.asd.

Parent Component

xmls (system).

Public Interface

extract-path (function).


4 Packages

Packages are listed by definition order.


4.1 xmls-system

Source

xmls.asd.

Use List
  • asdf/interface.
  • common-lisp.
Internals

xmls-source-file (class).


4.2 xmls

Source

xmls.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

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


5.1 Public Interface


5.1.1 Ordinary functions

Function: debug-off (&rest ids)

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

Package

xmls.

Source

xmls.lisp.

Function: debug-on (&rest ids)

Start dbg output on the given ids.

Package

xmls.

Source

xmls.lisp.

Function: extract-path (key-list xml)

Extracts data from XML parse tree. KEY-LIST is a path for descending down
named objects in the XML parse tree. For each KEY-LIST element, XML subforms
are searched for a matching tag name. Finally the whole last XML subform on the path is normally returned if found; however the symbol * may be added at the end of KEY-LIST to return list of all objects /enclosed/ by the last subform on KEY-LIST. Also KEY-LIST may be dotted as explained below to return XML tag attributes from the last subform on KEY-LIST.

XML is to have the forms as returned by PARSE-TO-LIST or PARSE:
(tag-name (attributes-list) subform*),
((tag-name . name-space) (attributes-list) subform*), or
#s(node :name tag-name
:ns name-space
:attrs attributes-list
:children subform*)

The first element in KEY-LIST must match the top level form in XML.
Subsequently each element in the KEY-LIST is to match a subform.

An element of KEY-LIST may be a string atom. In that case the first subform
with tag-name matching the string is matched. An element of KEY-LIST may also
be a list of string atoms in this format:
(tag-name (attribute-name attribute-value) ...)

The first subform with name matching TAG-NAME /and/ having attributes matching attribute-names and attribute-values is matched. Zero or more attribute/value pairs may be given.

Normally the whole subform matching last element in KEY-LIST is returned. The symbol * can be the last element of KEY-LIST to return list of all subforms enclosed by the last matched form. Attributes of last matched subform may be searched by ending KEY-LIST in dot notation, in which case the string after dot matches an attribute name. The two element list of attribute name and value is returned. The symbol * may be used after dot to return the whole attribute list.

In the case where the search fails NIL is returned. However it is possible that the search partially succeeds down the key path. Three values are returned altogether and the 2nd and 3rd values give information about how much of
KEY-LIST was matched, and at what point in XML:
(values RESULT KEY-LIST-FRAGMENT XML-FRAGMENT)

When RESULT is non-NIL, the others are NIL. When result is NIL however, the others are:
XML-FRAGMENT
The last XML form that /did/ match in the key list. It matches the first element of KEY-LIST-FRAGMENT.

KEY-LIST-FRAGMENT
The /remaining/ part of the KEY-LIST that did not succeed. However the /first/ item on KEY-LIST-FRAGMENT matches the XML-FRAGMENT returned. The failure is at the second item on KEY-LIST-FRAGMENT.

In the case of complete failure, where even the very first item on KEY-LIST does not match the top XML form given, all three return values are NIL. (It suffices to check the first two return values.)

Package

xmls.

Source

extract-path.lisp.

Function: make-node (&key name ns attrs child children)

Convenience function for creating a new xml node.

Package

xmls.

Source

xmls.lisp.

Function: make-xmlrep (tag &key representation-kind namespace attribs children)
Package

xmls.

Source

xmlrep-helpers.lisp.

Function: node->nodelist (node)

Backwards compatibility function. Will take a NODE (the output of PARSE), and translate it into a list structure that looks like the output of PARSE from XMLS 1.x. This should only be needed if there’s client code that didn’t obey the API and instead directly accessed the Lisp list structures that XMLS used to produce. Such code should be fixed.

Package

xmls.

Source

xmls.lisp.

Reader: node-attrs (instance)
Writer: (setf node-attrs) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

attrs.

Reader: node-children (instance)
Writer: (setf node-children) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

children.

Reader: node-name (instance)
Writer: (setf node-name) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

name.

Reader: node-ns (instance)
Writer: (setf node-ns) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

ns.

Function: node-p (object)
Package

xmls.

Source

xmls.lisp.

Function: nodelist->node (nodelist)

Take old-style list representation of XMLS nodes and translate it into a NODE.

Package

xmls.

Source

xmls.lisp.

Function: parse (s &key compress-whitespace quash-errors)

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

Package

xmls.

Source

xmls.lisp.

Function: parse-to-list (&rest args)
Package

xmls.

Source

xmls.lisp.

Reader: proc-inst-contents (instance)
Writer: (setf proc-inst-contents) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

contents.

Function: proc-inst-p (object)
Package

xmls.

Source

xmls.lisp.

Reader: proc-inst-target (instance)
Writer: (setf proc-inst-target) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

target.

Function: toxml (e &key indent)

Renders a lisp node tree to an xml string.

Package

xmls.

Source

xmls.lisp.

Function: write-prolog (xml-decl doctype s)
Package

xmls.

Source

xmls.lisp.

Function: write-prologue (xml-decl doctype s)

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

Package

xmls.

Source

xmls.lisp.

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.

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.

Function: (setf xmlrep-attrib-value) (attrib treenode)
Package

xmls.

Source

xmlrep-helpers.lisp.

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.

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.

Function: xmlrep-find-child-tags (tag treenode)

Find all the children of TREENODE with TAG.

Package

xmls.

Source

xmlrep-helpers.lisp.

Function: xmlrep-integer-child (treenode)
Package

xmls.

Source

xmlrep-helpers.lisp.

Function: xmlrep-string-child (treenode &optional if-unfound)
Package

xmls.

Source

xmlrep-helpers.lisp.

Function: xmlrep-tagmatch (tag treenode)
Package

xmls.

Source

xmlrep-helpers.lisp.


5.1.2 Generic functions

Generic Function: xmlrep-add-child! (xmlrep child)
Package

xmls.

Source

xmlrep-helpers.lisp.

Methods
Method: xmlrep-add-child! ((xmlrep node) child)
Method: xmlrep-add-child! ((xmlrep cons) child)
Generic Function: xmlrep-attribs (treenode)
Package

xmls.

Source

xmlrep-helpers.lisp.

Methods
Method: xmlrep-attribs ((treenode node))
Method: xmlrep-attribs ((treenode cons))
Generic Function: (setf xmlrep-attribs) (treenode)
Package

xmls.

Source

xmlrep-helpers.lisp.

Methods
Method: (setf xmlrep-attribs) ((treenode node))
Method: (setf xmlrep-attribs) ((treenode cons))
Generic Function: xmlrep-children (treenode)
Package

xmls.

Source

xmlrep-helpers.lisp.

Methods
Method: xmlrep-children ((treenode node))
Method: xmlrep-children ((treenode cons))
Generic Function: (setf xmlrep-children) (treenode)
Package

xmls.

Source

xmlrep-helpers.lisp.

Methods
Method: (setf xmlrep-children) ((treenode node))
Method: (setf xmlrep-children) ((treenode cons))
Generic Function: xmlrep-tag (treenode)
Package

xmls.

Source

xmlrep-helpers.lisp.

Methods
Method: xmlrep-tag ((treenode node))
Method: xmlrep-tag ((treenode cons))

5.1.3 Standalone methods

Method: initialize-instance :after ((obj xml-parse-error) &key)
Source

xmls.lisp.


5.1.4 Structures

Structure: node
Package

xmls.

Source

xmls.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: name
Readers

node-name.

Writers

(setf node-name).

Slot: ns
Readers

node-ns.

Writers

(setf node-ns).

Slot: attrs
Readers

node-attrs.

Writers

(setf node-attrs).

Slot: children
Readers

node-children.

Writers

(setf node-children).


5.2 Internals


5.2.1 Special variables

Special Variable: *char-escapes*
Package

xmls.

Source

xmls.lisp.

Special Variable: *compress-whitespace*
Package

xmls.

Source

xmls.lisp.

Special Variable: *dbg-ids*

Identifiers used by dbg

Package

xmls.

Source

xmls.lisp.

Special Variable: *discard-processing-instructions*
Package

xmls.

Source

xmls.lisp.

Special Variable: *entities*
Package

xmls.

Source

xmls.lisp.

Special Variable: *parser-line-number*
Package

xmls.

Source

xmls.lisp.

Special Variable: *parser-stream*

The currently-being-parsed stream. Used so that we can appropriately track the line number.

Package

xmls.

Source

xmls.lisp.

Special Variable: *strip-comments*
Package

xmls.

Source

xmls.lisp.

Special Variable: *test-files*
Package

xmls.

Source

xmls.lisp.

Special Variable: *test-verbose*
Package

xmls.

Source

xmls.lisp.

Special Variable: *whitespace*
Package

xmls.

Source

xmls.lisp.


5.2.2 Symbol macros

Symbol Macro: next-char
Package

xmls.

Source

xmls.lisp.


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.

Macro: defmatch (name &rest body)

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

Package

xmls.

Source

xmls.lisp.

Macro: defrule (name &rest body)

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

Package

xmls.

Source

xmls.lisp.

Macro: eat ()

Consumes one character from the input stream.

Package

xmls.

Source

xmls.lisp.

Macro: match (&rest matchers)

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

Package

xmls.

Source

xmls.lisp.

Macro: match* (&rest sequence)

Matches any occurances of any of the supplied matchers.

Package

xmls.

Source

xmls.lisp.

Macro: match+ (&rest sequence)

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

Package

xmls.

Source

xmls.lisp.

Macro: match-seq (&rest sequence)

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

Package

xmls.

Source

xmls.lisp.

Macro: matchfn (name)

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

Package

xmls.

Source

xmls.lisp.

Macro: must (&rest body)

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

Package

xmls.

Source

xmls.lisp.

Macro: peek (&rest matchers)

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

Package

xmls.

Source

xmls.lisp.

Macro: puke (char)

The opposite of EAT.

Package

xmls.

Source

xmls.lisp.


5.2.4 Ordinary functions

Function: %make-node (&key name ns attrs children)
Package

xmls.

Source

xmls.lisp.

Function: attr-or-nsdecl (s)
Package

xmls.

Source

xmls.lisp.

Function: attr-text-dq (c)
Package

xmls.

Source

xmls.lisp.

Function: attr-text-sq (c)
Package

xmls.

Source

xmls.lisp.

Function: chardata (c)
Package

xmls.

Source

xmls.lisp.

Function: comment (s)
Package

xmls.

Source

xmls.lisp.

Function: comment-char (c)
Package

xmls.

Source

xmls.lisp.

Function: comment-or-cdata (s)
Package

xmls.

Source

xmls.lisp.

Function: comment-or-doctype (s)
Package

xmls.

Source

xmls.lisp.

Function: compress-whitespace (str)
Package

xmls.

Source

xmls.lisp.

Function: content (s)
Package

xmls.

Source

xmls.lisp.

Function: copy-element (instance)
Package

xmls.

Source

xmls.lisp.

Function: copy-node (instance)
Package

xmls.

Source

xmls.lisp.

Function: copy-proc-inst (instance)
Package

xmls.

Source

xmls.lisp.

Function: copy-state (instance)
Package

xmls.

Source

xmls.lisp.

Function: digit (c)
Package

xmls.

Source

xmls.lisp.

Function: document (s)
Package

xmls.

Source

xmls.lisp.

Function: element (s)
Package

xmls.

Source

xmls.lisp.

Function: element-p (object)
Package

xmls.

Source

xmls.lisp.

Reader: element-type (instance)
Writer: (setf element-type) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

type.

Reader: element-val (instance)
Writer: (setf element-val) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

val.

Function: end-tag (s)
Package

xmls.

Source

xmls.lisp.

Function: escape-for-html (string)

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

Package

xmls.

Source

xmls.lisp.

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.

Function: generate-xml (e s indent)

Renders a lisp node tree to an xml string stream.

Package

xmls.

Source

xmls.lisp.

Function: letter (c)
Package

xmls.

Source

xmls.lisp.

Function: make-element (&key type val)
Package

xmls.

Source

xmls.lisp.

Function: make-extendable-string (&optional size)

Creates an adjustable string with a fill pointer.

Package

xmls.

Source

xmls.lisp.

Function: make-proc-inst (&key target contents)
Package

xmls.

Source

xmls.lisp.

Function: make-state (&key got-doctype lines nsstack stream)
Package

xmls.

Source

xmls.lisp.

Function: misc (s)
Package

xmls.

Source

xmls.lisp.

Function: name (s)
Package

xmls.

Source

xmls.lisp.

Function: namechar (c)
Package

xmls.

Source

xmls.lisp.

Function: ncname (s)
Package

xmls.

Source

xmls.lisp.

Function: ncname-char (c)
Package

xmls.

Source

xmls.lisp.

Function: none-or-more (s func)

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

Package

xmls.

Source

xmls.lisp.

Function: one-or-more (s func)

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

Package

xmls.

Source

xmls.lisp.

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.

Function: pi-contents (s)
Package

xmls.

Source

xmls.lisp.

Function: processing-instruction (s)
Package

xmls.

Source

xmls.lisp.

Function: push-string (c string)

Shorthand function for adding characters to an extendable string.

Package

xmls.

Source

xmls.lisp.

Function: qname (s)
Package

xmls.

Source

xmls.lisp.

Function: read-char (&optional stream eof-error-p eof-value recursive-p)
Package

xmls.

Source

xmls.lisp.

Function: read-stream (stream)

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

Package

xmls.

Source

xmls.lisp.

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.

Function: resolve-namespace (elem env)

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

Package

xmls.

Source

xmls.lisp.

Function: start-tag (s)
Package

xmls.

Source

xmls.lisp.

Reader: state-got-doctype (instance)
Writer: (setf state-got-doctype) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

got-doctype.

Reader: state-lines (instance)
Writer: (setf state-lines) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

lines.

Reader: state-nsstack (instance)
Writer: (setf state-nsstack) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

nsstack.

Function: state-p (object)
Package

xmls.

Source

xmls.lisp.

Reader: state-stream (instance)
Writer: (setf state-stream) (instance)
Package

xmls.

Source

xmls.lisp.

Target Slot

stream.

Function: test (&key interactive test-files)

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

Package

xmls.

Source

xmls.lisp.

Function: translate-raw-value (raw-value)

Helper function for xml generation.

Package

xmls.

Source

xmls.lisp.

Function: unread-char (char &optional stream)
Package

xmls.

Source

xmls.lisp.

Function: write-escaped (string stream)
Package

xmls.

Source

xmls.lisp.

Function: ws (s)
Package

xmls.

Source

xmls.lisp.

Function: ws-attr-or-nsdecl (s)
Package

xmls.

Source

xmls.lisp.

Function: ws-char (c)
Package

xmls.

Source

xmls.lisp.

Function: xmldecl (s)
Package

xmls.

Source

xmls.lisp.


5.2.5 Generic functions

Generic Reader: error-line (condition)
Package

xmls.

Methods
Reader Method: error-line ((condition xml-parse-error))
Source

xmls.lisp.

Target Slot

line.


5.2.6 Conditions

Condition: xml-parse-error
Package

xmls.

Source

xmls.lisp.

Direct superclasses

error.

Direct methods
Direct slots
Slot: line
Initform

(quote nil)

Initargs

:line

Readers

error-line.

Writers

This slot is read-only.


5.2.7 Structures

Structure: element

Common return type of all rule functions.

Package

xmls.

Source

xmls.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: type
Package

common-lisp.

Type

symbol

Readers

element-type.

Writers

(setf element-type).

Slot: val
Readers

element-val.

Writers

(setf element-val).

Structure: proc-inst
Package

xmls.

Source

xmls.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: target
Type

string

Initform

""

Readers

proc-inst-target.

Writers

(setf proc-inst-target).

Slot: contents
Type

string

Initform

""

Readers

proc-inst-contents.

Writers

(setf proc-inst-contents).

Structure: state

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

Package

xmls.

Source

xmls.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: got-doctype
Readers

state-got-doctype.

Writers

(setf state-got-doctype).

Slot: lines
Type

integer

Initform

1

Readers

state-lines.

Writers

(setf state-lines).

Slot: nsstack
Readers

state-nsstack.

Writers

(setf state-nsstack).

Slot: stream
Package

common-lisp.

Readers

state-stream.

Writers

(setf state-stream).


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.


Appendix A Indexes


A.1 Concepts


A.2 Functions

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

%
%make-node: Private ordinary functions

(
(setf element-type): Private ordinary functions
(setf element-val): Private ordinary functions
(setf node-attrs): Public ordinary functions
(setf node-children): Public ordinary functions
(setf node-name): Public ordinary functions
(setf node-ns): Public ordinary functions
(setf proc-inst-contents): Public ordinary functions
(setf proc-inst-target): Public ordinary functions
(setf state-got-doctype): Private ordinary functions
(setf state-lines): Private ordinary functions
(setf state-nsstack): Private ordinary functions
(setf state-stream): Private ordinary functions
(setf xmlrep-attrib-value): Public ordinary functions
(setf xmlrep-attribs): Public generic functions
(setf xmlrep-attribs): Public generic functions
(setf xmlrep-attribs): Public generic functions
(setf xmlrep-children): Public generic functions
(setf xmlrep-children): Public generic functions
(setf xmlrep-children): Public generic functions

A
attr-or-nsdecl: Private ordinary functions
attr-text-dq: Private ordinary functions
attr-text-sq: Private ordinary functions

C
chardata: Private ordinary functions
comment: Private ordinary functions
comment-char: Private ordinary functions
comment-or-cdata: Private ordinary functions
comment-or-doctype: Private ordinary functions
compress-whitespace: Private ordinary functions
content: Private ordinary functions
copy-element: Private ordinary functions
copy-node: Private ordinary functions
copy-proc-inst: Private ordinary functions
copy-state: Private ordinary functions

D
dbg: Private macros
debug-off: Public ordinary functions
debug-on: Public ordinary functions
defmatch: Private macros
defrule: Private macros
digit: Private ordinary functions
document: Private ordinary functions

E
eat: Private macros
element: Private ordinary functions
element-p: Private ordinary functions
element-type: Private ordinary functions
element-val: Private ordinary functions
end-tag: Private ordinary functions
error-line: Private generic functions
error-line: Private generic functions
escape-for-html: Private ordinary functions
extract-path: Public ordinary functions

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

G
generate-xml: Private ordinary functions
Generic Function, (setf xmlrep-attribs): Public generic functions
Generic Function, (setf xmlrep-children): Public generic functions
Generic Function, error-line: Private generic functions
Generic Function, xmlrep-add-child!: Public generic functions
Generic Function, xmlrep-attribs: Public generic functions
Generic Function, xmlrep-children: Public generic functions
Generic Function, xmlrep-tag: Public generic functions

I
initialize-instance: Public standalone methods

L
letter: Private ordinary functions

M
Macro, dbg: Private macros
Macro, defmatch: Private macros
Macro, defrule: Private macros
Macro, eat: Private macros
Macro, match: Private macros
Macro, match*: Private macros
Macro, match+: Private macros
Macro, match-seq: Private macros
Macro, matchfn: Private macros
Macro, must: Private macros
Macro, peek: Private macros
Macro, puke: Private macros
make-element: Private ordinary functions
make-extendable-string: Private ordinary functions
make-node: Public ordinary functions
make-proc-inst: Private ordinary functions
make-state: Private ordinary functions
make-xmlrep: Public ordinary functions
match: Private macros
match*: Private macros
match+: Private macros
match-seq: Private macros
matchfn: Private macros
Method, (setf xmlrep-attribs): Public generic functions
Method, (setf xmlrep-attribs): Public generic functions
Method, (setf xmlrep-children): Public generic functions
Method, (setf xmlrep-children): Public generic functions
Method, error-line: Private generic functions
Method, initialize-instance: Public standalone methods
Method, xmlrep-add-child!: Public generic functions
Method, xmlrep-add-child!: Public generic functions
Method, xmlrep-attribs: Public generic functions
Method, xmlrep-attribs: Public generic functions
Method, xmlrep-children: Public generic functions
Method, xmlrep-children: Public generic functions
Method, xmlrep-tag: Public generic functions
Method, xmlrep-tag: Public generic functions
misc: Private ordinary functions
must: Private macros

N
name: Private ordinary functions
namechar: Private ordinary functions
ncname: Private ordinary functions
ncname-char: Private ordinary functions
node->nodelist: Public ordinary functions
node-attrs: Public ordinary functions
node-children: Public ordinary functions
node-name: Public ordinary functions
node-ns: Public ordinary functions
node-p: Public ordinary functions
nodelist->node: Public ordinary functions
none-or-more: Private ordinary functions

O
one-or-more: Private ordinary functions

P
parse: Public ordinary functions
parse-to-list: Public ordinary functions
peek: Private macros
peek-stream: Private ordinary functions
pi-contents: Private ordinary functions
proc-inst-contents: Public ordinary functions
proc-inst-p: Public ordinary functions
proc-inst-target: Public ordinary functions
processing-instruction: Private ordinary functions
puke: Private macros
push-string: Private ordinary functions

Q
qname: Private ordinary functions

R
read-char: Private ordinary functions
read-stream: Private ordinary functions
resolve-entity: Private ordinary functions
resolve-namespace: Private ordinary functions

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

T
test: Private ordinary functions
toxml: Public ordinary functions
translate-raw-value: Private ordinary functions

U
unread-char: Private ordinary functions

W
write-escaped: Private ordinary functions
write-prolog: Public ordinary functions
write-prologue: Public ordinary functions
write-xml: Public ordinary functions
ws: Private ordinary functions
ws-attr-or-nsdecl: Private ordinary functions
ws-char: Private ordinary functions

X
xmldecl: Private ordinary functions
xmlrep-add-child!: Public generic functions
xmlrep-add-child!: Public generic functions
xmlrep-add-child!: Public generic functions
xmlrep-attrib-value: Public ordinary functions
xmlrep-attribs: Public generic functions
xmlrep-attribs: Public generic functions
xmlrep-attribs: Public generic functions
xmlrep-boolean-attrib-value: Public ordinary functions
xmlrep-children: Public generic functions
xmlrep-children: Public generic functions
xmlrep-children: Public generic functions
xmlrep-find-child-tag: Public ordinary functions
xmlrep-find-child-tags: Public ordinary functions
xmlrep-integer-child: Public ordinary functions
xmlrep-string-child: Public ordinary functions
xmlrep-tag: Public generic functions
xmlrep-tag: Public generic functions
xmlrep-tag: Public generic functions
xmlrep-tagmatch: Public ordinary functions


A.3 Variables

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

*
*char-escapes*: Private special variables
*compress-whitespace*: Private special variables
*dbg-ids*: Private special variables
*discard-processing-instructions*: Private special variables
*entities*: Private special variables
*parser-line-number*: Private special variables
*parser-stream*: Private special variables
*strip-comments*: Private special variables
*test-files*: Private special variables
*test-verbose*: Private special variables
*whitespace*: Private special variables

A
attrs: Public structures

C
children: Public structures
contents: Private structures

G
got-doctype: Private structures

L
line: Private conditions
lines: Private structures

N
name: Public structures
next-char: Private symbol macros
ns: Public structures
nsstack: Private structures

S
Slot, attrs: Public structures
Slot, children: Public structures
Slot, contents: Private structures
Slot, got-doctype: Private structures
Slot, line: Private conditions
Slot, lines: Private structures
Slot, name: Public structures
Slot, ns: Public structures
Slot, nsstack: Private structures
Slot, stream: Private structures
Slot, target: Private structures
Slot, type: Private structures
Slot, val: Private structures
Special Variable, *char-escapes*: Private special variables
Special Variable, *compress-whitespace*: Private special variables
Special Variable, *dbg-ids*: Private special variables
Special Variable, *discard-processing-instructions*: Private special variables
Special Variable, *entities*: Private special variables
Special Variable, *parser-line-number*: Private special variables
Special Variable, *parser-stream*: Private special variables
Special Variable, *strip-comments*: Private special variables
Special Variable, *test-files*: Private special variables
Special Variable, *test-verbose*: Private special variables
Special Variable, *whitespace*: Private special variables
stream: Private structures
Symbol Macro, next-char: Private symbol macros

T
target: Private structures
type: Private structures

V
val: Private structures