Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Sorting XSLT output items >Thread Next - Re: Sorting XSLT output items Re: Sorting XSLT output itemsTo: NULL Date: 3/2/2009 1:50:00 AM Jure Sah wrote: > The code goes a little like this: > <xsl:for-each select="feed:rss2"> > <xsl:variable name="myURL" select="." /> > <xsl:for-each select="document($myURL)/rss/channel/item"> > > ..that is the two nested "for-each"es. > > Any ideas? > just use one for-each then it's easier to sort over the whole collection. <xsl:for-each select="document(feed:rss2)/rss/channel/item"> <xsl:sort select= something ... -- http://dpcarlisle.blogspot.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
