Added new functions attribute*, unparse-attribute, and macro with-element*,

with-namespace* to the SAX generation wrapper API.
This commit is contained in:
dlichteblau
2007-05-01 20:06:59 +00:00
parent dd833309bf
commit 41ee5ae24d
4 changed files with 84 additions and 21 deletions

View File

@ -69,7 +69,9 @@
emitting them as SAX events to a user-specified handler at the
same time.</li>
<li>Changed attributes to carry an lname even when occurring
without a namespace.</li>
without a namespace. Added new functions attribute*,
unparse-attribute, and macro with-element*, with-namespace* to
the SAX generation wrapper API.</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,

View File

@ -291,8 +291,12 @@
<p>
<div class="def">Macro CXML:WITH-XML-OUTPUT (sink &amp;body body) => sink-specific result</div>
<div class="def">Macro CXML:WITH-NAMESPACE ((prefix uri) &amp;body body) => result</div>
<div class="def">Macro CXML:WITH-ELEMENT (qname &amp;body body) => result</div>
<div class="def">Function CXML:ATTRIBUTE (name value) => value</div>
<div class="def">Macro CXML:WITH-ELEMENT* ((prefix lname) &amp;body body) => result</div>
<div class="def">Function CXML:ATTRIBUTE (qname value) => value</div>
<div class="def">Generic Function CXML:UNPARSE-ATTRIBUTE (value) => string</div>
<div class="def">Function CXML:ATTRIBUTE* (prefix lname value) => value</div>
<div class="def">Function CXML:TEXT (data) => data</div>
<div class="def">Function CXML:CDATA (data) => data</div>
Convenience syntax for event-based serialization.