[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] finding nodes


Subject: Re: [xsl] finding nodes
From: António Mota <amsmota@xxxxxxxxx>
Date: Mon, 24 Jan 2005 13:31:22 +0000

On Mon, 24 Jan 2005 18:34:52 +0530, omprakash.v@xxxxxxxxxxxxx
<omprakash.v@xxxxxxxxxxxxx> wrote:

> In my stylesheet I have this:
> 
> I have $value =' resident'
> 

Certainly you don't have that, you should show exactly how you define value.

>  <xsl:variable name="nset">
>  <xsl:value-of select="//campus[@name = $value]"/>
>  </xsl:variable>
> 
> <xsl:message> nodeset  <xsl:value-of select="$nset"/></xsl:message>
> 
> I would then like to iterate  over the nodeset returned.
> 
You'll probably need a extension like exsl:node-set() to do that.


Current Thread