<xsl:for-each select="//data">
<tr>
<td><xsl:value-of
select="//field[(_at_)tag='123']/subfield[(_at_)id='a']"/></td>
//x selects every x in the document. You only want the field that is an
immediate child of the current data element, which is:
<xsl:for-each select="//data">
<tr>
<td><xsl:value-of
select="field[(_at_)tag='123']/subfield[(_at_)id='a']"/></td>
By the way, we don't mind simple questions on this list, but we do like to
have meaningful subject lines.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--