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

Re: xslt and the filesystem

Subject: Re: xslt and the filesystem
From: tom.kirkpatrick@xxxxxxxxxxxx
Date: Tue, 22 Feb 2005 11:33:28 +0000
directory list xpath
yes it is being pulled from an http server (apache), but how would I get 
the XML representation of the filesystem? Is that something I can create 
with an xslt stylesheet?




David Carlisle <davidc@xxxxxxxxx>
22/02/2005 11:23
Please respond to xsl-list

 
        To:        xsl-list@xxxxxxxxxxxxxxxxxxxxxx
        cc: 
        Subject:        Re:  xslt and the filesystem



Is it possible for xsl/xpath, via the document() function, to read in all
files in a particular directory...

Off the filesystem, probably not, no (but see below).
If you are pulling the files from an http sserver then yes, you just
need to configure the server to send an xml representation of the
directory list instead of an html index file.

Off the file system you are really requesting a URI of the form
file:///xml/articles/comments
so in some settings (eg java I would guess, although I don't really do
java) If you have an entity resolver set up that picks up file: URI
protocol then again you can return anything you like, including an xml
representation of the directory list.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________




-- 
Tom David Kirkpatrick
Virus Bulletin Web Developer, Virus Bulletin

Tel: +44 1235 555139
Web: www.virusbtn.com

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.