You are right, It's a user question. Won't make the mistake.
Anyway here is the answer :
I stream my dom in an SAX endElement method So I had two startDocument.
So, to make it work, You should DOM the DOMResult.getDocumentElement();
Lionel
At 13:38 08/05/2004 +0200, you wrote:
On Fri, 2004-05-07
On Fri, 2004-05-07 at 15:48, Lionel Crine wrote:
> Hi again,
>
> I have some trouble in my pipeline and don't really what's going on.
>
> In a transformer (SAX), i get DOM from an XML base and then I parse it in
> the endElement method.
>
>
> I tried two ways :
>
> 1/
> DOMStreamer s = new DO
Hi again,
I have some trouble in my pipeline and don't really what's going on.
In a transformer (SAX), i get DOM from an XML base and then I parse it in
the endElement method.
I tried two ways :
1/
DOMStreamer s = new DOMStreamer(this.contentHandler, this.lexicalHandler);
s.stream(DOMResult);