"BENHAJ-ABDELLATIF,TAHIA (HP-France,ex1)" <[EMAIL PROTECTED]> writes:

> What I got is that, I write the modification that I want but it does
> not validated before!!  When I parse the modified file, then it
> tells me that the file is invalid.
> 
> So what should I do to validate the tree at the nmoment of the
> modification (before writing in the file)??

There is currently no way to validate a DOM Tree without first writing
it to a string using serialize(). Then create a MemBufInputSource and
parse that InputSource, with validation on.

jas.

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

  • validates file BENHAJ-ABDELLATIF,TAHIA (HP-France,ex1)
    • Jason E. Stewart

Reply via email to