This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
alt. to for-each when there's only one
- From: alex <shortestpath at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 12 Feb 2002 05:45:26 -0800 (PST)
- Subject: [xsl] alt. to for-each when there's only one
- Reply-to: xsl-list at lists dot mulberrytech dot com
I've bee using <xsl:for-each select="Orders/RowId">
to process all the RowId children of my one Orders
node.
But I've got a case where I know the xml returned
to me will only contain one RowId child. Is using
a for-each still the way to go in this case? Or is
there something more direct and efficient?
thanks,
-alex
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list