Take a look at the dates: Tunnel parameters were introduced in the XSLT draft published on 12th November 2003. Saxon 7.4 came out on 15th Feb 2003. You need Saxon 7.8.
 
Michael Kay
-----Original Message-----
From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Chip Whitmer
Sent: 21 November 2003 22:32
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Tunnel parameters

Hi -- I'm new here... :-)
 
Does Saxon support XSL's "tunnel parameters"?
 
I ask because when I add 'tunnel="yes"' to both the calling xsl:with-param and the receiving xsl:param elements, I get the error: "Attribute tunnel is not allowed on this element" at both locations.
 
I am using Saxon 7.4.  I think I'm following the XSL spec for tunnel parameters properly.  The actual code is:
 
[...]
   <xsl:call-template name="dataroot">
    <xsl:with-param name="year" select="$year" tunnel="yes"/>
   </xsl:call-template>
[...]
 <xsl:template match="/" name="dataroot">
  <xsl:param name="year" tunnel="yes"/>
[...]
 
It works properly if I remove the tunnel attributes.  What am I doing wrong?
 
  Thanks,
- Chip Whitmer