The xerces support for DOM Level 3 allows you to validate a document that
has already been parsed into a DOM.  The xerces FAQ re DOM covers this.  The
xerces FAQ re grammars explains how to preparse and pool grammars.
Jeff

----- Original Message ----- 
From: "Mike Rawlins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 10, 2003 7:29 AM
Subject: Re: DOMResult according to schema


> Guy,
>
> Part 1 of your question really has nothing to do with Xalan, per
> se.  You're asking how to validate an XML instance document, as a DOM
tree,
> against its schema.  This depends entirely on your DOM
> implementation.  But, assuming you're using JAXP and Xerces, without using
> Xerces-specific classes there aren't very many really graceful or
efficient
> ways to do it.
 ...

> At 04:56 AM 11/10/2003 -0500, Guy Sharon wrote:
> >Hi,
> >
> >(Two part question)
> >
> >How do I make sure the DOM tree held by the DOMResult object after
> >transformation complies to an XML Schema?
...
> >Second part:
> >How do I use a grammar pool (preparsed schema) to have the DOMResult
> >comply to.

Reply via email to