Thanks to everyone who gave suggestions on my previous
challenge of dictating sort order! Your suggestion,
Amirico, was right on the money. Works like a charm!
-----------------------------------------------------
Try this:
<xsl:template match="searchResult">
<xsl:variable name="res" select="."/>
<tr>
<xsl:for-each
select="following-sibling::supplementaryData/display/displayField">
<xsl:apply-templates
select="$res/*[name()=current()]"/>
</xsl:for-each>
</tr>
</xsl:template>
(...)
Regards,
Amirico Albuquerque
-----------------------------------------------------
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list