[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT 2.0 *and* XSLT 1.0 validation -- how to?
On Oct 22, 2004, at 10:38 AM, Michael Kay wrote:
Actually, a valid XSLT 2.0 stylesheet that specifies version="2.0" is a valid XSLT 1.0 stylesheet, because of forwards-compatibility mode. It seems that Norm's stylesheet is still conditioning validation on the version though (which is useful; if I'm working on a 1.0 stylesheet, I really don't want my editor to tell me 2.0 features are valid). A fragment: version = "2.0" literal-result-element-as-stylesheet = element * - xsl:* { attribute xsl:version { version }, literal-result-element-no-version.atts, template.model } http://norman.walsh.name/2004/07/25/examples/xslt20.rnc I'd really like XML Schema get this functionality. Bruce
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|