Subject: Re: unknown element selection (parent is known) From: "Rob van der Zeijden" <r.zeijden@xxxxxxxxx> Date: Tue, 24 Oct 2000 12:57:50 -0400 (EST) |
> > > following sample contains a for-each statement. I only want > > > to take a look at one of the ROWSET/ROW/*. > > > How can this be done? > > > > > Write: <xsl:for-each select="(ROWSET/ROW/*)[1]"> > > Thanks for all the reactions. This would select the first child > of the ROWSET/ROW parent right? But now I am going through ALL > the ROWSET/ROW/*[1]s But since all my nodes are the same I do > not need to know this name a thousand times(when i have thousand records). > But how is this done? Sorry. But I found the answer myself: <xsl:for-each select="(ROWSET[1]/ROW[1]/*)"> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: unknown element selection (pare, Oliver Becker | Thread | RE: unknown element selection (pare, Kay Michael |
Re: unknown element selection (pare, Rob van der Zeijden | Date | xsl:param, Thomas Karlsen |
Month |