Unit xquery_module_file

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

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

procedure registerModuleFile;

Constants

XMLNamespaceURL_Expath_File = 'http://expath.org/ns/file';

Variables

XMLNamespace_Expath_File: INamespace;

Description

Functions and Procedures

procedure registerModuleFile;

Registers the module to the XQuery engine

Constants

XMLNamespaceURL_Expath_File = 'http://expath.org/ns/file';
 

Variables

XMLNamespace_Expath_File: INamespace;
 

Generated by PasDoc 0.14.0.