Re: XSL call to validate using XML Schema
Hi, I think a schema-aware XSLT processor is what you need. Saxon-b8.2 is an XSLT 2.0 processor that is also schema aware. You may want to check it out. Cheers, Omprakash.V "67pat odowd" <birchsolutions@ho To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx tmail.com> cc: (bcc: omprakash.v/Polaris) Subject: XSL call to validate using XML Schema 05/26/2005 10:08 PM Please respond to xsl-list Hi, I developed a java 1.4 program that calls out to an XSL stylesheet to do some transformations on an incoming XML document, I am wondering if I can also validate the XML document using XML schema through my program or via an XSL/XSLT call? Would it be possible to have a link to an XML Schema in the incoming XML doc and the call to the XSL uses this to validate the XML before I do the transformation? Ideally, I would like minimal program changes and implement this by changing the XSL (if this is possible at all). The program is deployed on windows and unix (using the default jre 1.4 XML and XSL implementation - xerces + xalan as far as I know) Thanks in advance, Pat _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://messenger.msn.co.uk This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit Us at http://www.polaris.co.in
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