[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: unknown element selection (parent is known)
> > > > > > > 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
|
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
|