Re: [xsl] How to Validate an XSL

Subject: Re: [xsl] How to Validate an XSL
From: "Andrew Curry" <andrew.curry@xxxxxxxxxxxx>
Date: Thu, 4 Mar 2004 14:09:19 -0000
There are also command line tools provided with Xalan
----- Original Message -----
From: "Michael Kay" <mhk@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, March 04, 2004 1:51 PM
Subject: RE: [xsl] How to Validate an XSL


>
> #
> # Is there an way through which I can validate whether an given XSL is
valid
> # or not programitically.
>
> Sure. In Java, call transformerFactory.newTemplates(...) and if you get an
> exception, the stylesheet isn't valid.
>
> 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