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

RE: multiple output targets (was use-when attribute?)

Subject: RE: multiple output targets (was use-when attribute?)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 21 Dec 2004 08:58:18 -0000
xsl when attribute
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@xxxxxxxxxxxxx] 
> Sent: 21 December 2004 05:46
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  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

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.