xsl-list
[Top] [All Lists]

Re: [xsl] unparsed-text-collection()

2008-11-10 07:25:32
"Andrew" == Andrew Welch 
<andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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