Why not consider doing without Xalan? At least on some stages?

Say,
1) load initial document into in-memory DOM;
2) manipulate and modify this DOM using XPath and whatsoever until final
satisfaction :)
3) use Xalan for serialization of the resulting document.

Regards,
Sergey Ushakov
P.S. Perhaps "xalan-j-users" might be a better playground for this
discussion...


----- Original Message -----
From: "Sergey Petrunia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 11:08 PM
Subject: Is there any way to evaluate Xpath on a writeable document?


> Hello,
>  I am using Xalan in application that needs to
>    1. evaluate an XPath expression on document
>    2. modify the source document
>    3. repeat steps 1-2 several times.
> The problem is that parsing the source document the way it is done in
> XPath API samples gives a readonly document, so in step 3 I have to
> construct a new document and feed it back to Xalan, which makes code
> slow and complicated. Is there any way to evaluate Xpath expressions on
> a writeable document in Xalan?
>
> BR
> --Sergey Petrunia
>
>

Reply via email to