Re: [xsl] xslt and the filesystem

Subject: Re: [xsl] xslt and the filesystem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 22 Feb 2005 11:23:17 GMT
  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
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.


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:

Current Thread