Subject: [xsl] Trying to use Docbook transforms with Saxon7 From: Bob Foster <bob@xxxxxxxxxx> Date: Mon, 06 Oct 2003 00:53:46 -0500 |
<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>
Bob Foster http://www.xmlbuddy.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Re: XPath/XSLT 2.0: What , Michael Kay | Thread | Re: [xsl] Trying to use Docbook tra, Jirka Kosek |
RE: [xsl] Re: XPath/XSLT 2.0: What , Michael Kay | Date | RE: [xsl] Generally appending XML d, Aitor San Juan |
Month |