[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: unknown element selection (parent is known)

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)
unknown element
> > > 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.