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

Re: Directory listing, as xml file

Subject: Re: Directory listing, as xml file
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Sun, 01 Jun 2008 10:11:10 +0100
Re:  Directory listing
>>>>> "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

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.