Subject: Re: [xsl] How to read an XML file that is in a subfolder or sub-subfolder or sub-sub-subfolder or ...? From: "John Lumley john@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 7 Apr 2020 13:11:54 -0000 |
Hi Folks,If you're using Saxon PE or EE the EXPath file:list() (http://www.saxonica.com/documentation/index.html#!functions/expath-file/list) function will help you find such files.
My XSLT program has a variable $filename which contains the name of an XML file. The XML file is in a folder named "files" or one of its subfolders or one of its sub-subfolders or one of its sub-sub-subfolders or ...
In other words, it's somewhere in the tree of folders rooted at "files."
I want to open the XML file (wherever it's located within "files") and read it into an XSLT variable. Is there a way to do this?
/Roger
-- *John Lumley* MA PhD CEng FIEE john@xxxxxxxxxxxx <mailto:john@xxxxxxxxxxxx> on behalf of Saxonica Ltd
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to read an XML file that , Costello, Roger L. c | Thread | Re: [xsl] How to read an XML file t, Michael Kay mike@xxx |
[xsl] How to read an XML file that , Costello, Roger L. c | Date | Re: [xsl] How to read an XML file t, Michael Kay mike@xxx |
Month |