Lists Home |
Date Index |
> > How would an XMLSchema be used to validate an update
> > elements/attributes/
> > and/or values during an XUpdate XPath expression? Since an
> > XMLSchema is
> > associated with a "document" and not a fragment of a
> > document, does this
> > imply one must retrieve the complete document and not just
> > the fragment to
> > do validation before actually updating the fragment?
I think the assumption is wrong. You can validate any element against a type
defined in a schema. This will typically process the descendants of the
element, but it need not process the entire document.