Hi,
> 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.
Oh, missed that. Right now $nset is bound to a Result Tree Fragment. You want
<xsl:variable name="nset" select="//campus[@name = $value]"/>
Cheers,
Jarno
|