xsl-list
[Top] [All Lists]

RE: dictating node processing order

2003-07-30 06:51:01
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



<Prev in Thread] Current Thread [Next in Thread>