This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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?







 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]