|
Subject: [xsl] RE: dictating node processing order From: Nathan Shaw <n8_shaw@xxxxxxxxx> Date: Wed, 30 Jul 2003 06:51:01 -0700 (PDT) |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] split OpenOffice 1.1 docu, cknell | Thread | [xsl] dynamic sort order, Nathan Shaw |
| [xsl] split OpenOffice 1.1 document, Linnemann, Victor | Date | [xsl] dynamic sort order, Nathan Shaw |
| Month |