I am working with xslt 1.0 and trying to use the XSLT document function to apply the stylesheet to a hierarchy of folders. The folder structures is as below, but I cannot seem to find any reliable references on the Web on how to do this.
a/
└── b
└── c
├── d
├── e
├── f
Is there a way I can apply my stylesheet to nodes, in a file, in folder f via a file in folder a (a has links to file names in folder hierarchy).
Update #2
book01.xml
<?xml version="1.0" encoding="utf-8" ?>
<book location="../collection/book01.xml">
<chapter>chapter001</chapteer>
</book>
chapter01.xml
<?xml version="1.0" encoding="utf-8" ?>
<chapter location="../collection/book01/chapter01.xml">
<page>page01</page>
</chapter>
page01.xml
<?xml version="1.0" encoding="utf-8" ?>
<page location="../collection/book01/chapter01/page01.xml">
<pagenumber>page 1</pagenumber>
<text>
page one.
</text>
</page>
Output
Book Name: Book XX
Chapter XX
Page XX
page xx.