xsl-list
[Top] [All Lists]

Re: How to Validate an XSL

2004-03-04 07:09:19
There are also command line tools provided with Xalan
----- Original Message -----
From: "Michael Kay" <mhk(_at_)mhk(_dot_)me(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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



<Prev in Thread] Current Thread [Next in Thread>