Simon-

There are two things here that I can see:

First, when using a "select" attribute (anywhere in XSL to my knowedge),
the value is not resolved before processing.  Meaning the processor will
not first substitue the value of $location and then run the for each. 

Secondly, the purpose of the "select" parameter is to build a node set
to operate on.  If you pass a string as its value, the processor will
look for a node with the given XPath expression in that string.

You may try to accomplish the problem in the following way:

<xsl:template name="someTemplate">

  <xsl:call-template name="callMe">
    <xsl:with-param
name="location-set" select="/section/data/stuff" />
  </xsl:call-template>

</xsl:template>


...which will pass the node set to your template instead of the text
value.

You may also try [EMAIL PROTECTED] (they are far smarter than I)

HTH,
--jah
 

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      \\\|///                 Jason Heddings             ((
     \\ ~ ~ //                303.272.5166 (x75166)    C|~~|
     (/ @ @ /)                [EMAIL PROTECTED]    `__'
 ~~oOOo~(_)~oOOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to