This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Use of document() and an English description please!
I've read several postings about using document() to process additional
files, would someone post a template that does this please. Also, in
reading the description of document () in the standard I'm lost and not
even sure that I agree that the any of the combinations do this. Would some
one care to take a stab at explaining the various combinations that
document() can be used in, or at least the ones that you have verified work
and what they do?
..dan
At 01:03 PM 2/2/00 +0000, you wrote:
>
>> I do have XML files that specify the filenames and paths of all the
>> documents in a specific subdirectory. Could I somehow read such a
>> filenames-file and call the document function for each of the
>> files listed, and then extract the information I want from each
>> document?
>
>Mike brown showed how you can read such a file. Note that you don't have
>to manually update your index file if you can configure your server.
>If you put a http URL to a directory in the document() function XSL will
>be passed back whatever the server sends. Normally this is something
>like an index.html file from that directory but you can set up the
>server to run a perl (or whatever) script over the directory and
>send back a directory listing in XML syntax.
>
>David
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
---------------------------------------------------------------------------
Danny Vint http://www.dvint.com
Author: SGML at Work http://www.slip.net/~dvint/pubs/sgmlatwork.shtml
mailto:dvint@slip.net
Calian Voice:804-975-3482
mailto:d.vint@calian.com
Charlottesville, VA Office http://www.calian.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list