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: 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
|