[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: better way to validate XML ...
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|