|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: SAXON 5.0 is available
> Can someone suggest a clean method of maintaining stylesheets so that
> they are useable by both xt and saxon, with respect to
> extensions?
SAXON supports all the mechanisms in the spec for dealing with extensions it
doesn't recognize, for example if you use xt extension elements in your
stylesheet then it will handle
<xt:document>
<xsl:call-template name="the-work"/>
<xsl:fallback>
<saxon:output>
<xsl:call-template name="the-work"/>
</saxon:output>
</xsl:fallback>
</xt:document>
of if you prefer you can use xsl:if test=element-available() or
function-available().
Whether xt supports these features I don't know, if it doesn't now then I'm
sure it will in due course.
As I've said before, if someone wants to start an initiative to define a
library of "standard extensions" then I'll be happy to ship a SAXON
implementation of these; meanwhile James Clark and I have been studiously
copying each other's good ideas for a little while now so at least there is
some functional compatibility.
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








