XSLT 2.0 and XQuery (still only Working Drafts) were considering offering
the ability to validate document structures on demand. This was a somewhat
contentious issue, though, and I'm not sure whether that is in, or out, of
either draft at this point.

We experimented with a prototype of that function, but I don't believe it's
present in the current main-line Xalan code.  It requires rather deep
dependencies upon Xerces (with the obvious portability concern), unless
you're willing to write the document out to a file, validate it there, and
read it back in (doable, but *slow*)

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk

Reply via email to