Re: [xsl] call-template by default

Subject: Re: [xsl] call-template by default
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 21 Nov 2001 16:21:17 -0700 (MST)
Eric Smith wrote:
> Is it possible to do this for each template in the stylesheet?

It's not especially clear what you're asking, but would

  <xsl:when test="someCondition">
    <xsl:call-template name="someSpecialTemplate"/>
  <xsl:when test="someOtherCondition">
    <xsl:call-template name="someOtherSpecialTemplate"/>
    <xsl:call-template name="someDefaultTemplate"/>


   - Mike
  mike j. brown,  |  xml/xslt:
  denver/boulder, colorado, usa   |  personal:

 XSL-List info and archive:

Current Thread