Dear list,

Thank you for your replies. I take it from your replies that the answer to my original question is no, that there is no extension function implemented in Saxon 9.4 HE to check for the existence of a file or directory on the file system. I will look into the alternative solutions you suggested.


On Tue, Apr 9, 2013 at 2:56 AM, Dave Pawson <> wrote:
Another (two stage) option.
If the transform is being called from a script,
List the directory to a text file,
parse (to XML) and analyse it and use the information from that.
Only really worthwhile if done regularly.


Dave Pawson
Docbook FAQ.

Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
saxon-help mailing list archived at