documentation update
This commit is contained in:
@ -48,10 +48,12 @@
|
|||||||
<a href="http://common-lisp.net/project/plexippus-xpath/">Plexippus</a>:
|
<a href="http://common-lisp.net/project/plexippus-xpath/">Plexippus</a>:
|
||||||
XPath 1.0
|
XPath 1.0
|
||||||
</li>
|
</li>
|
||||||
|
<!--
|
||||||
<li>
|
<li>
|
||||||
<a href="http://repo.or.cz/w/xuriella.git">Xuriella</a>:
|
<a href="http://repo.or.cz/w/xuriella.git">Xuriella</a>:
|
||||||
XSLT 1.0 (work in progress)
|
XSLT 1.0 (work in progress)
|
||||||
</li>
|
</li>
|
||||||
|
-->
|
||||||
<li>
|
<li>
|
||||||
<a href="http://common-lisp.net/project/closure/closure-html/">Closure
|
<a href="http://common-lisp.net/project/closure/closure-html/">Closure
|
||||||
HTML</a>:
|
HTML</a>:
|
||||||
@ -76,10 +78,14 @@
|
|||||||
New sink slot omit-xml-declaration-p; functions cxml:unescaped
|
New sink slot omit-xml-declaration-p; functions cxml:unescaped
|
||||||
and sax:unescaped.
|
and sax:unescaped.
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
Added XPath support to the XMLS compatibility model.
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Fixed various DTD serialization bugs. Fixed xmls compatibility
|
Fixed various DTD serialization bugs. Fixed xmls compatibility
|
||||||
bugs. Fixed variable names in with-source. Fixed
|
bugs. Fixed variable names in with-source. Fixed
|
||||||
klacks-error export.
|
klacks-error export. Consistently use strings as base URIs.
|
||||||
|
Fixed PARSE for non-file-streams.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div style="background-color: #f7f7f7;
|
<div style="background-color: #f7f7f7;
|
||||||
|
|||||||
@ -23,6 +23,7 @@
|
|||||||
only. The old behaviour using pairs of prefix and local names
|
only. The old behaviour using pairs of prefix and local names
|
||||||
was removed.
|
was removed.
|
||||||
</p>
|
</p>
|
||||||
|
<!--
|
||||||
<p>
|
<p>
|
||||||
<strike>
|
<strike>
|
||||||
fixme: It is unclear to me how namespaces are meant to
|
fixme: It is unclear to me how namespaces are meant to
|
||||||
@ -36,6 +37,7 @@
|
|||||||
to me how that works in xmls.
|
to me how that works in xmls.
|
||||||
</strike>
|
</strike>
|
||||||
</p>
|
</p>
|
||||||
|
-->
|
||||||
<p>
|
<p>
|
||||||
<div class="def">Function CXML-XMLS:MAKE-XMLS-BUILDER (&key include-default-values include-namespace-uri)</div>
|
<div class="def">Function CXML-XMLS:MAKE-XMLS-BUILDER (&key include-default-values include-namespace-uri)</div>
|
||||||
Create a SAX handler which builds XMLS list structures. 
|
Create a SAX handler which builds XMLS list structures. 
|
||||||
@ -87,5 +89,31 @@
|
|||||||
Accessors for xmls node data.
|
Accessors for xmls node data.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
<div class="def">Accessor CXML-XMLS:MAKE-XPATH-NAVIGATOR ()</div>
|
||||||
|
Creates a navigator object for use with Plexippus XPath.
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
Note that the navigator object caches parts of the document
|
||||||
|
structure, so when re-using a navigator across XPath evalutions,
|
||||||
|
make sure not to modify the list structure.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Example:
|
||||||
|
</p>
|
||||||
|
<pre>CL-USER> (defparameter *test-document*
|
||||||
|
(cxml:parse
|
||||||
|
"<foo a='b'>
|
||||||
|
<a id='1'/> <b id='2'/> <c id='3'/>
|
||||||
|
<a id='4'/> <b id='5'/> <c id='6'/>
|
||||||
|
<a id='7'/> <b id='8'/> <c id='9'/>
|
||||||
|
<last/>
|
||||||
|
</foo>"
|
||||||
|
(cxml-xmls:make-xmls-builder)))
|
||||||
|
*TEST-DOCUMENT*</pre>
|
||||||
|
<pre>CL-USER> (let ((xpath:*navigator* (cxml-xmls:make-xpath-navigator)))
|
||||||
|
(xpath:evaluate "//c[position()=2]|//a[@id='1']"
|
||||||
|
*test-document*))
|
||||||
|
#<XPATH:NODE-SET (a ((id 1))), ... {27C751F1}></pre>
|
||||||
|
<pre>CL-USER> (xpath:all-nodes *)
|
||||||
|
(("a" (("id" "1"))) ("c" (("id" "6"))))</pre>
|
||||||
</documentation>
|
</documentation>
|
||||||
|
|||||||
Reference in New Issue
Block a user