W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2002

XSLT 2.0 and Backwards-Compatible Processing

From: Johan von Boisman <johan.von.boisman@spotfire.com>
Date: Tue, 12 Nov 2002 03:31:36 -0500 (EST)
Message-ID: <1146616D5829D511BBBA00B0D0D018190163252C@exch-gbg1.spotfire.com>
To: "'public-qt-comments@w3.org'" <public-qt-comments@w3.org>




I'm reading up on versioning and compatibility
issues for XSLT and I am unable to determine from
the "2.6 Backwards-Compatible Processing" paragraph
in the current WD how the following doc should be
treated by a 2.0 processor.

<transform version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform"
     xmlns:xs="http://www.w3.org/2001/XMLSchema">

 <param name="foo" type="xs:integer" />

 <template match="/">
  Hello World from XSLT 1.0
 </template>

</transform>

The version attribute is less than 2.0 so 
backwards-compatible processing should be enabled
and the param element has an attribute from XSLT 2.0.
Maybe this is a silly example, but the 2.6 paragraph
in the WD only talks about XPath 1 vs 2.

/johan
Received on Tuesday, 12 November 2002 04:38:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:58 GMT