This is the pithy-xml Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:17:29 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
Files are sorted by type and then listed depth-first from the systems components trees.
pithy-xml/pithy-xml.lisp
pithy-xml
(system).
*default-set-external-format*
(special variable).
*make-xml-namespace*
(special variable).
*namespace-bindings*
(special variable).
*xml-acronyms*
(special variable).
*xml-entities*
(special variable).
camel
(function).
define-xml-namespace
(macro).
define-xml-namespace-by-schema
(macro).
entity
(function).
find-descendant
(function).
map-elements
(function).
parse-xml-element
(function).
print-xml
(function).
read-xml
(function).
read-xml-document
(function).
read-xml-file
(function).
xml-comment
(type).
xml-element
(type).
xml-intern
(function).
*default-namespace*
(special variable).
*intern-unknown-symbols*
(special variable).
*namespace-plists*
(special variable).
*print-no-namespace-binding*
(special variable).
*unknown-package-is-default-namespace-p*
(special variable).
default-set-external-format
(function).
parse-doctype
(function).
read-schema-symbols
(function).
unquote
(function).
xml-file-encoding
(function).
xs%boolean
(type).
xs%int
(type).
xs%integer
(type).
xs%long
(type).
xs%string
(type).
Packages are listed by definition order.
pithy-xml
common-lisp
.
*default-set-external-format*
(special variable).
*make-xml-namespace*
(special variable).
*namespace-bindings*
(special variable).
*xml-acronyms*
(special variable).
*xml-entities*
(special variable).
camel
(function).
define-xml-namespace
(macro).
define-xml-namespace-by-schema
(macro).
entity
(function).
find-descendant
(function).
map-elements
(function).
parse-xml-element
(function).
print-xml
(function).
read-xml
(function).
read-xml-document
(function).
read-xml-file
(function).
xml-comment
(type).
xml-element
(type).
xml-intern
(function).
*default-namespace*
(special variable).
*intern-unknown-symbols*
(special variable).
*namespace-plists*
(special variable).
*print-no-namespace-binding*
(special variable).
*unknown-package-is-default-namespace-p*
(special variable).
default-set-external-format
(function).
parse-doctype
(function).
read-schema-symbols
(function).
unquote
(function).
xml-file-encoding
(function).
xs%boolean
(type).
xs%int
(type).
xs%integer
(type).
xs%long
(type).
xs%string
(type).
xmlns
http://www.w3.org/TR/REC-xml-names/
http://www.w3.org/2000/xmlns/
pithy-xml.xmlns
pithy-xml.xml
http://www.w3.org/TR/REC-xml-names/
http://www.w3.org/xml/1998/namespace
Definitions are sorted by export status, category, package, and then by lexicographic order.
Function to be called to set a STREAM’s EXTERNAL-FORMAT.
Called whenver a non-existing namespace is encountered. Return package to use.
The active mappings from qualifiers to namespaces.
Default list of acronyms. These strings will not be (de)camelized.
Define a package/namespace. NAME is a short-hand name, while URL is the canonical XML namespace name which will become a nickname for the package. Extra options are ACRONYMS which lists a set of acronyms (for tweaking the XML<->symbol mapping), and LOCK which is whether symbols should automatically be interned for this package/namespace by READ-XML.
Declare a namespace by reading symbols from an XML schema file. Defaults :LOCK to true.
Convert a hyphenated-name to CamelCase, unless it already is. Encode XML entities. Convert ’%’ to ’:’.
Print CONTENT to STREAM, encoding characters with XML entities according to *XML-ENTITIES*.
Locate a descendant of PARENT according to PATH. Each path element either names the child element, or is an integer child index.
For each element in DOCUMENT, apply FUNCTION to the name and attribute plist. Recurse into contents when FUNCTION returns true.
Return the element’s contents, attributes, and name.
Serialize sexpr into XML.
Return a boolean indicating if sexpr was ’complex’ enough to requre a
newline and indentation. The syntax is approximately like that of CL-WHO.
Read the first XML element from STREAM-OR-STRING that matches TYPE.
Like READ-XML, but process encoding directives by applying SET-EXTERNAL-FORMAT to the stream and encoding, if specified in the document.
Read all the contents from file at PATH.
Decamelize, intern, etc. STRING into a symbol, or just the string if STRINGP is true.
When encountering a symbol that doesn’t already exist in the namespace, and LOCK us undefined for the namespace, intern it?
Properties for each namespace/package.
What to do when printing a symbol and there is no current binding for the namespace? If NIL, fail. If T, print name without namespace prefix. If :PACKAGE-NAME, use the package’s name as namespace prefix.
When encountering an unknown package, map to default namespace?
Attempt to verify that STREAM is compatible with ENCODING.
Extract the relevant symbols from an XML schema in PATH.
Return the file encoding declared for the file at PATH, if any.
Jump to: | C D E F M P R U X |
---|
Jump to: | C D E F M P R U X |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | F H P S T X |
---|
Jump to: | F H P S T X |
---|