Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Directory listing, as xml file

From: Colin Paul Adams <colin@------------------>
To:
Date: 6/1/2008 9:13:00 AM
>>>>> "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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent