[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Trying to use Docbook transforms with Saxon7

Subject: RE: Trying to use Docbook transforms with Saxon7
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 6 Oct 2003 16:48:24 +0100
saxon7
You are using a stylesheet that is designed to work with Saxon 6.5.x. If
you need to use XSLT 2.0 features you will have to convert it yourself;
otherwise just download 6.5.3 and run it with that.

Michael Kay


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Bob Foster
> Sent: 06 October 2003 06:54
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Trying to use Docbook transforms with Saxon7
> 
> 
> chunker.xsl fails because it is looking for saxon:output, 
> with the saxon 
> namespace identified as xmlns:saxon="http://icl.com/saxon". 
> Looking at 
> the Saxon7 docs, I don't think just changing the namespace will bring 
> joy. Here is a quote of the offending snippet.
> 
> <xsl:template name="make-relative-filename">
>    <xsl:param name="base.dir" select="'./'"/>
>    <xsl:param name="base.name" select="''"/>
> 
>    <xsl:choose>
>      <!-- put Saxon first to work around a bug in libxslt -->
>      <xsl:when test="element-available('saxon:output')">
>        <!-- Saxon doesn't make the chunks relative -->
>        <xsl:value-of select="concat($base.dir,$base.name)"/>
>      </xsl:when>
>      <!-- other alternatives deleted -->
>      <xsl:otherwise>
>        <xsl:message terminate="yes">
>          <xsl:text>Don't know how to chunk with </xsl:text>
>          <xsl:value-of select="system-property('xsl:vendor')"/>
>        </xsl:message>
>      </xsl:otherwise>
>    </xsl:choose>
> </xsl:template>
> 
> I realize this isn't a lot of information; I am hoping someone has 
> already been there, done that.
> 
> Bob Foster
> http://www.xmlbuddy.com/
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.