disabled the annoying uri syntax warnings
[cxml-stp.git] / index.xml
blob0545a2248058ead9b396686aff7923aca3a68a89
1 <page>
2   <p>
3     A data structure for well-formed XML documents, designed for Common
4     Lisp.
5   </p>
7   <h3>About</h3>
9   <p>
10     cxml-stp is an alternative to the
11     W3C's <a href="http://common-lisp.net/project/cxml/dom.html">DOM</a>,
12     which cxml also implements.  It was written
13     by <a href="mailto:david@lichteblau.com">David Lichteblau</a> as an
14     add-on library for
15     <a href="http://common-lisp.net/project/cxml">Closure XML</a> and is
16     available under an X11-style license.
17   </p>
18   <p>
19     Please send bug reports
20     to <a href="mailto:cxml-devel@common-lisp.net">
21       cxml-devel@common-lisp.net</a>
22     (<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/cxml-devel">list information</a>).
23   </p>
24   <p>
25     <i>Acknowledgements:</i>
26     cxml-stp is inspired by <a href="http://www.xom.nu/">XOM</a>.
27   </p>
28   <h3>Download</h3>
29   <p>
30     Download a
31     <a href="http://www.lichteblau.com/cxml-stp/download/">tarball</a>.
32   </p>
34   <h3>Installation</h3>
35   <p>
36     cxml-stp needs
37     <a href="http://common-lisp.net/project/cxml">Closure XML</a>
38     and <a href="http://common-lisp.net/project/alexandria/">Alexandria</a>.
39     <a href="http://www.cliki.net/asdf">ASDF</a> is used for
40     compilation.  Register the .asd file, e.g. by symlinking it,
41     then compile cxml-stp using <tt>asdf:operate</tt>.
42   </p>
43   <pre>$ ln -sf `pwd`/cxml-stp.asd /path/to/your/registry/
44 * (asdf:operate 'asdf:load-op :cxml-stp)</pre>
45   <p>
46     <i>Implementation-specific notes:</i>
47     At this point, cxml-stp is written to work with Lisp strings
48     (as opposed to runes and rods), and is meant to be used on
49     Lisp implementations with Unicode support.
50   </p>
52   <h3>Documentation</h3>
53   <p>
54     <raute/> <a href="tutorial/index.html">Tutorial</a>
55   </p>
56   <p>
57     <raute/> <a href="tutorial/examples.html">Code</a> snippets
58     from the tutorial collected on one page
59   </p>
60   <p>
61     <raute/> <a href="doc/pages/cxml-stp.html">API documentation</a>
62   </p>
63   <p>
64     There is also a rough "STP for DOM
65     users" <a href="DOM-COMPARISON">comparison</a> which should be
66     useful if you have a specific DOM function in mind and are looking
67     for STP's equivalent.
68   </p>
70 <!--
71   <h3>Example</h3>
72   <p>
73     To parse into STP, use an STP builder together with a function
74     generating SAX events:
75   </p>
76   <pre class="code">(defparameter *example*
77     (cxml:parse-file "example.xml" (<a
78     href="doc/pages/cxml-stp__make-builder.html">cxml-stp:make-builder</a>)))</pre>
79   <p>
80     Serialize STP by sending SAX events for the tree to a sink:
81   </p>
82   <pre class="code">(<a
83     href="doc/pages/cxml-stp__serialize.html">cxml-stp:serialize</a> *example* (cxml:make-character-stream-sink *standard-output*))</pre>
84 -->
85 </page>