Subject: RE: unknown element selection (parent is known) From: Kay Michael <Michael.Kay@xxxxxxx> Date: Wed, 25 Oct 2000 09:54:50 +0100 |
> > > > > > > Write: <xsl:for-each select="(ROWSET/ROW/*)[1]"> > Sorry. But I found the answer myself: > <xsl:for-each select="(ROWSET[1]/ROW[1]/*)"> These are equivalent only if the first ROWSET contains a ROW and that ROW contains a child element: which is probably true in your case. Any respectable processor (well, Saxon, anyway), will not search the whole document while evaluating select="(ROWSET/ROW/*)[1]": it will stop when it finds the first one. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: unknown element selection (pare, Rob van der Zeijden | Thread | re: sorting shares, Kevin 'esq' Byrne |
RE: sum function, Kay Michael | Date | RE: Tricky problem, limiting the nu, Kay Michael |
Month |