Update of /project/cxml/cvsroot/cxml/doc In directory clnet:/tmp/cvs-serv1722/doc
Modified Files: GNUmakefile index.xml installation.xml klacks.xml Log Message: <li>Fixed attributes to carry an lname even without when occurring without a namespace.</li>
<li>Klacks improvements: Incompatibly changed klacks:find-element and find-event to consider the current event as a result. Added klacks-error, klacks:expect, klacks:skip, klacks:expecting-element.</li>
--- /project/cxml/cvsroot/cxml/doc/GNUmakefile 2007/02/18 12:35:50 1.1 +++ /project/cxml/cvsroot/cxml/doc/GNUmakefile 2007/03/04 18:30:40 1.2 @@ -1,4 +1,5 @@ all: dom.html index.html installation.html klacks.html quickstart.html sax.html xmls-compat.html
%.html: %.xml html.xsl - xsltproc html.xsl $< >$@ + xsltproc html.xsl $< >$@.tmp + mv $@.tmp $@ --- /project/cxml/cvsroot/cxml/doc/index.xml 2007/02/18 16:50:53 1.2 +++ /project/cxml/cvsroot/cxml/doc/index.xml 2007/03/04 18:30:41 1.3 @@ -50,6 +50,15 @@
<a name="changes"/> <h2>Recent Changes</h2> + <p class="nomargin"><tt>rel-2007-xx-yy</tt></p> + <ul class="nomargin"> + <li>Fixed attributes to carry an lname even without when occurring + without a namespace.</li> + <li>Klacks improvements: Incompatibly changed + klacks:find-element and find-event to consider the current event + as a result. Added klacks-error, klacks:expect, klacks:skip, + klacks:expecting-element.</li> + </ul> <p class="nomargin"><tt>rel-2007-02-18</tt></p> <ul class="nomargin"> <li>New StAX-like parser interface.</li> --- /project/cxml/cvsroot/cxml/doc/installation.xml 2007/02/18 12:35:50 1.1 +++ /project/cxml/cvsroot/cxml/doc/installation.xml 2007/03/04 18:30:41 1.2 @@ -10,11 +10,7 @@ <li> <div> Anoncvs (<a href="http://common-lisp.net/cgi-bin/viewcvs.cgi/cxml/?cvsroot=cxml">browse</a>): - <pre>$ export CVSROOT=:pserver:anonymous@common-lisp.net:/project/cxml/cvsroot -$ cvs login -Logging in to :pserver:anonymous@common-lisp.net:2401/project/cxml/cvsroot -CVS password: anonymous -$ cvs co cxml</pre> + <pre>cvs -d :pserver:anonymous:anonymous@common-lisp.net:/project/cxml/cvsroot co cxml</pre> </div> </li> </ul> --- /project/cxml/cvsroot/cxml/doc/klacks.xml 2007/02/18 17:35:37 1.6 +++ /project/cxml/cvsroot/cxml/doc/klacks.xml 2007/03/04 18:30:41 1.7 @@ -231,6 +231,32 @@ namespace matches. Return values like <tt>peek</tt> or NIL if no such event was found. </p> + <p> + <div class="def">Condition KLACKS:KLACKS-ERROR (xml-parse-error)</div> + The condition class signalled by <tt>expect</tt>. + </p> + <p> + <div class="def">Function KLACKS:EXPECT (source key &optional + value1 value2 value3)</div> + Assert that the current event is equal to (key value1 value2 + value3). (Ignore <i>value</i> arguments that are NIL.) If so, + return it as multiple values. Otherwise signal a + <tt>klacks-error</tt>. + </p> + <p> + <div class="def">Function KLACKS:SKIP (source key &optional + value1 value2 value3)</div> + <tt>expect</tt> the specific event, then <tt>consume</tt> it. + </p> + <p> + <div class="def">Macro KLACKS:EXPECTING-ELEMENT ((fn source + &optional lname uri) &body body</div> + Assert that the current event matches (:start-element uri lname). + (Ignore <i>value</i> arguments that are NIL) Otherwise signal a + <tt>klacks-error</tt>. + Evaluate <tt>body</tt> as an implicit progn. Finally assert that + the remaining event matches (:end-element uri lname). + </p>
<a name="klacksax"/> <h3>Bridging Klacks and SAX</h3>