+ <li>New class <tt>broadcast-handler</tt> as a generalization
+ of the older <tt>sax-proxy</tt>.</li> + <li>New class <tt>tapping-source</tt>, a klacks source that + relays events from an upstream klacks source unchanged, while also + emitting them as SAX events to a user-specified handler at the + same time.</li> + Fixed serialize-event to generate + start-prefix-mapping and end-prefix-mapping events. New function + map-current-namespace-declarations.</li>
This commit is contained in:
@ -179,6 +179,18 @@
|
||||
specified using a CDATA section in the source document. Else,
|
||||
signal an error.
|
||||
</p>
|
||||
<p>
|
||||
<div class="def">Function KLACKS:MAP-CURRENT-NAMESPACE-DECLARATIONS (fn source) => nil</div>
|
||||
</p>
|
||||
<p>
|
||||
For use only on :start-element and :end-element events, this
|
||||
function report every namespace declaration on the current element.
|
||||
On :start-element, these correspond to the xmlns attributes of the
|
||||
start tag. On :end-element, the declarations of the corresponding
|
||||
start tag are reported. No inherited namespaces are
|
||||
included. <tt>fn</tt> is called only for each declaration with two
|
||||
arguments, the prefix and uri.
|
||||
</p>
|
||||
<p>
|
||||
<div class="def">Function KLACKS:MAP-ATTRIBUTES (fn source)</div>
|
||||
</p>
|
||||
@ -281,6 +293,19 @@
|
||||
Read all klacks events from <tt>source</tt> and send them as SAX
|
||||
events to the SAX <tt>handler</tt>.
|
||||
</p>
|
||||
<p>
|
||||
<div class="def">Class KLACKS:TAPPING-SOURCE (source)</div>
|
||||
A klacks source that relays events from an upstream klacks source
|
||||
unchanged, while also emitting them as SAX events to a
|
||||
user-specified handler at the same time.
|
||||
</p>
|
||||
<p>
|
||||
<div class="def">Functon KLACKS:MAKE-TAPPING-SOURCE
|
||||
(upstream-source &optional sax-handler)</div>
|
||||
Create a tapping source relaying events
|
||||
for <tt>upstream-source</tt>, and sending SAX events
|
||||
to <tt>sax-handler</tt>.
|
||||
</p>
|
||||
|
||||
<a name="locator"/>
|
||||
<h3>Location information</h3>
|
||||
|
||||
Reference in New Issue
Block a user