Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Directory listing, as xml file


Subject: Re: [xsl] Directory listing, as xml file
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Sun, 01 Jun 2008 10:11:10 +0100

>>>>> "Dave" == Dave Pawson <davep@xxxxxxxxxxxxx> writes:

    Dave> I want to generate a list of elements which constitutes all
    Dave> the xml files in a directory, say ./sub

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

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

    Dave> ....


    Dave> </reference>

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

The implementation of fn:collection() for file URIs in gestalt
supports this directly.

See http://colina.demon.co.uk/?q=node/14 .
-- 
Colin Adams
Preston Lancashire


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml