[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: sort a node across a dynamic group of files

Subject: Re: sort a node across a dynamic group of files
From: "J. Argyl Plath" <jargylplath@xxxxxxxxx>
Date: Sun, 22 Nov 2009 14:57:32 -0500
Re:  sort a node across a dynamic group of files
On 22 Nov 09, at 14:51, Martin Honnen wrote:

> Can't you generate a toc file listing the names of all entry files you want
to process e.g.
>
> <toc>
>  <file>0001.xml</file>
>  <file>0002.xml</file>
>  <file>0003.xml</file>
> </toc>
>
> Then you could simply process e.g.
>
> <xsl:template match="toc">
>  <xsl:for-each select="document(file)/entry">
>    <xsl:sort .../>
>  </xsl:for-each>
> </xsl:template>

I had considered this method. I could create a server script that generates
that TOC file periodically, but I was hoping to avoid the lag between each
cron execution and the entry files being created. Worse case though, this
would be an adequate fix. Thank you!

-J

--
J. Argyl Plath
:-{)
I'm wearing a moustache to help fight prostate cancer.
Learn more and help out at:
http://us.movember.com/mospace/24373

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.