RE: [xsl] Re: [ANNOUNCE] XSLT-process 1.2 available

Subject: RE: [xsl] Re: [ANNOUNCE] XSLT-process 1.2 available
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sat, 17 Feb 2001 09:29:01 -0000
> I don't use xsl:document (I reverted back to 6.0.2 and saxon:output),
> because I cannot see any way to write a stylesheet using it that any
> other processor today will accept. Is there a way?

If you write

<some-outer-lre xsl:version="1.1">
  <xsl:document ...>
  <xsl:fallback>...</xsl:fallback>
  </xsl:document>
</some-outer-lre>

Then a 1.0 processor should ignore it, just as it ignores an extension
element. I agree the need for an enclosing literal result element to hold
the xsl:version attribute is a pain, and I've never understood why it's
needed.

But if there are problems with this it sounds as if there is a valid reason
for reintroducing saxon:output (or saxon:document) as a synonym, in the same
way as I did with xsl:script.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread