Dear Mike,

Thank you for your reply. I am afraid I need more information. I don't know what it means to create the extensions by compiling java, or how to use your code with my xsl stylesheet. I was hoping that the answer to my question would be simpler, i.e., that there would be some extension function implemented in Saxon with which to check for the existence of a file/directory on the file system.


On Sun, Apr 7, 2013 at 4:59 PM, Michael Sokolov <> wrote:
Wolfhart - I don't know what the status of those extensions is in the Saxon distribuion, but if you can compile java, it's not very hard to create them, or you might want to re-use this implementation that I wrote:


On 4/7/2013 2:52 PM, Wolfhart Totschnig wrote:

I am using Saxon 9.4 HE. For a stylesheet I am working on I need some of the functionality of the EXPath file module extensions, in particular file:exists and file:is-dir -- that is, I need to check whether a particular file/directory exists on the file system. But the EXPath file module does not seem to be implemented in Saxon. So my question is this: Are there other extension functions implemented in Saxon that I can use, extension functions that are equivalent to file:exists and file:is-dir?

Thank you in advance for your help.

Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal

saxon-help mailing list archived at