[xsl] Directory listing, as xml file

Subject: [xsl] Directory listing, as xml file
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Sun, 01 Jun 2008 10:05:33 +0100
I want to generate a list of elements
which constitutes all the xml files in
a directory, say ./sub

<reference
           xmlns:xi='http://www.w3.org/2001/XInclude'>
<title> Element Reference</title>
<xi:include href='intro-elements.xml'/>

<xi:include href='sub/a.xml'/>
<xi:include href='sub/b.xml'/>
<xi:include href='sub/c.xml'/>

....


</reference>


Any suggestions how this might be done (mostly) with xslt?
I'm also trying to minimize the OS dependence.


TIA


regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread