[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: unknown element selection (parent is known)
> > > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|