This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: unknown element selection (parent is known)
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: unknown element selection (parent is known)
- From: "Rob van der Zeijden" <r dot zeijden at tiscon dot de>
- Date: Tue, 24 Oct 2000 12:57:50 -0400 (EST)
- Reply-To: xsl-list at mulberrytech dot com
> > > 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