Lei,

Although I haven't checked lately I believe there used to be a RevalidatingDOMParser class which is no longer being maintained. This being the case, I believe that your initial assumption is correct. I think you must serialize the document and re-parse in order to revalidate. I believe someone once mentioned on this list that it would be more efficient to do this using piped input/output streams but, unfortunately, I don't have a pointer to that message.

Hope this helps,
Mayer


From: Lei Chen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: validate after modification
Date: Thu, 26 Apr 2001 13:58:05 -0400

Can someone answer my question please?

-----Original Message-----
From: Lei Chen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 3:34 PM
To: '[EMAIL PROTECTED]'
Subject: validate after modification



How do i re-validate an existing DOM after modifying it? By modify, I mean
change, delete, or add a node. Do i have to serialize it to a file or a
string, then do a re-parsing?

-Lei


_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to