[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] finding nodes
Subject: RE: [xsl] finding nodes From: <Jarno.Elovirta@xxxxxxxxx> Date: Mon, 24 Jan 2005 15:35:59 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] finding nodes, Jarno.Elovirta | Thread | Re: [xsl] finding nodes, omprakash . v |
Re: [xsl] finding nodes, António Mota | Date | Re: [xsl] finding nodes, omprakash . v |
Month |