[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] How to Validate an XSL
Subject: RE: [xsl] How to Validate an XSL
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 4 Mar 2004 13:51:54 -0000
|
#
# 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
|