This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]