| 
 
Subject: Re: [xsl] unparsed-text-collection() From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: Mon, 10 Nov 2008 12:25:10 +0000  | 
>>>>> "Andrew" == Andrew Welch <andrew.j.welch@xxxxxxxxx> writes:
    Andrew> For the task of processing a directory of csv files into
    Andrew> xml, a collection() function that returned the equivalent
    Andrew> of calling unparsed-text() on each file would be really
    Andrew> useful.
    Andrew> Is it likely to make it into the language?
Collection() can be implemented now to allow this to be
done already. Gestalt's implementation provides a collection of document nodes
that contain information about each directory and file
present. Therefore the unparsed-text() function can be
called on each entry in turn. You could then process this and turn it
into xml using xsl:functions.
-- 
Colin Adams
Preston Lancashire
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] unparsed-text-collection(), Andrew Welch | Thread | RE: [xsl] unparsed-text-collection(, Michael Kay | 
| Re: [xsl] Qualified variable names, Andrew Welch | Date | Re: [xsl] Qualified variable names, Florent Georges | 
| Month |