Subject: RE: [xsl] better way to validate XML ... From: "Kotes Mogili" <Kotes.Mogili@xxxxxxxxxxxxxxxxx> Date: Tue, 10 Feb 2004 17:43:02 -0500 |
Thanks for the suggestion .. --Kotes -----Original Message----- From: Michael Kay [mailto:mhk@xxxxxxxxx] Sent: Tuesday, February 10, 2004 4:34 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] better way to validate XML ... > > I am looking for validating XML against schema before > processing through XSLT. > > Is it possible to validate using XSLT?? If not what other > ways to validate ?? > At present, you have to do this by running the schema validation and the XSLT transformation as separate operations on the data. You should be able to put this in a SAX pipeline to avoid parsing twice. XSLT 2.0 provides for the concept of a "schema-aware XSLT processor" which does what you are asking for (and a lot more). Watch this space for an announcement of a schema-aware version of Saxon. Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] better way to validate XM, Michael Kay | Thread | [xsl] 2 Predicates in 1 for-each, p, Bert |
Re: [xsl] Following-Sibling, J.Pietschmann | Date | RE: [xsl] 2 Predicates in 1 for-eac, Josh Canfield |
Month |