Unit xquery_module_file
Description
This unit implements the file module of http://expath.org/spec/file
Call registerModuleFile to register it. Afterwards you can use e.g. query('Q{http://expath.org/ns/file}exists("/tmp/")') to test for the existence of a file. If you add the namespace to the namespaces in the static context, you can write it simpler as query('f:exists("/tmp/")') .
not much tested
Overview
Functions and Procedures
Constants
Variables
Description
Functions and Procedures
procedure registerModuleFile; |
Registers the module to the XQuery engine
|
Constants
XMLNamespaceURL_Expath_File = 'http://expath.org/ns/file'; |
|
Variables
Generated by PasDoc 0.14.0.
|