xsl-list
[Top] [All Lists]

Re: [xsl] How to read an XML file that is in a subfolder or sub-subfolder or sub-sub-subfolder or ...?

2020-04-07 10:26:10
On Tue, 7 Apr, 2020, 8:29 PM Wendell Piez wapiez(_at_)wendellpiez(_dot_)com, <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:


In Saxon, also, when consuming a path to a directory, the collection()
function accepts a 'recurse' option, which could be used to return
such a file.

collection('file:///path/to/files?recurse=yes;select=filelist.xml')

Of course you might get more than one filelist.xml this way.


+1

I think that, this is what would solve Roger's problem.


Regards,
Mukul


--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>