Is it possible to validate a DOMDocument against a XMl
schema?

The scenario I'm dealing with is a user defined script
that creates a DOMDocument. Before storing that
document, I want to validate the contents against a
schema.

I implemented a solution using the following steps:

1. Serialize the document into a MemBufFormatTarget
2. Create a MemBufInputSource
3. Parse the MemBufInputSource

But I would like to avoid serializing the document in
order to parse it again. 

Is that possible?

Thanks!

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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

Reply via email to