You have specified tunnel="yes" in the xsl:with-param, but not in the
xsl:param, so they don't match up.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Bruce D'Arcus [mailto:bdarcus(_at_)myrealbox(_dot_)com]
Sent: 21 December 2004 05:46
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] multiple output targets (was use-when attribute?)
I'm still stuck. So I added an as attribute to the key parameter to
see if that would help.
If I have this:
<xsl:call-template name="bib:format-bibliography">
<xsl:with-param name="output-format" select="'latex'"
tunnel="yes"/>
</xsl:call-template>
.... and this:
<xsl:template name="bib:format-bibliography">
<xsl:param name="output-format" as="xs:string"/>
<xsl:choose>
<xsl:when test="$output-format='latex'">
<xsl:apply-templates select="$bib:formatted-biblist"
mode="output-latex"/>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$bib:formatted-biblist"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
.... how is it that I can be getting a "No value supplied for
required
parameter" error???
The first call-template is in one stylesheet, which imports the
bib:format-bibliography template.
Bruce
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--