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

Re: XT Bug? Re: Wish List: Allow <xsl:choose> within <xsl:c

Subject: Re: XT Bug? Re: Wish List: Allow <xsl:choose> within <xsl:call-template>
From: "Clark C. Evans" <clark.evans@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Nov 1999 15:09:37 -0500 (EST)
xsl c
Oops! Fired that one off too soon without thinking; 
sorry James -- definately not an XT bug.

...

> On Thu, 11 Nov 1999, Nikita Ogievetsky wrote: 
> > <xsl:choose>
> >     <xsl:when test="$one">
> >         <xsl:variable name="par_one" select="$one"/>
> >     </xsl:when>
> >     <xsl:when test="$done" >
> >         <xsl:variable name="par_one" select="$done"/>
> >     </xsl:when>
> > </xsl:choose>
> >       ...
> > <xsl:call-template name="base-function">
> >     <xsl:with-param name="one" select="$par_one" />
> > </xsl:call-template>
> 
> Yes.  This is logically equivalent to what I was doing,

Actually, it isn't.  In Nikita's case, I don't have
the option to _not_ use the parameter in the call.
As I do in this case:

  <xsl:call-template name="base-function">
      <xsl:if test="$one" >
          <xsl:with-param name="one" select="$one" />
      </xsl:if
  </xsl:call-template>
 
And once again, its not the single parameter case that
it important, it is the 10 parameter case, with 10! 
permutations that I'm having problems with.

Clark
                               


 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.