You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Torsten Curdt <tc...@dff.st> on 2001/07/23 23:45:08 UTC

DOMStreamer

I have a DocumentFragment supposebly looking
like this:

<one>
  <two/>
</one>

Now I try to create SAX events from it:

  DOMStreamer streamer = new DOMStreamer(handler);
  streamer.stream(fragment);

Unfortunately this is also fireing the following
events:

[setDocumentLocator] 
[startDocument]
[endDocument]

Why is that so? Anyone a clue?
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org