[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to Validate an XSL

Subject: Re: How to Validate an XSL
From: "George Cristian Bina" <george@xxxxxxx>
Date: Thu, 4 Mar 2004 12:28:49 +0200
transformerfactory validate
> Is there an way through which I can validate whether an given XSL is valid
or not programitically.

You should look into the documentation for the XSLT processor you are using.
For instance if you use a JAXP compliant XSLT processor then you can just
create a Transformer from your stylesheet. If this succeeds then it is
valid, otherwise you should be able to catch the errors in an ErrorListener
set on the TransformerFactory.

Best Regards,
 George
-------------------------------------------------------------
George Cristian Bina mailto:george@xxxxxxxxxxxxx
<oXygen/> XML Editor - http://www.oxygenxml.com/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.