- From: Christian Grün <christian.gruen@gmail.com>
- Date: Sun, 23 Feb 2014 22:31:29 +0100
- To: EXPath <public-expath@w3.org>, EXPath <expath@googlegroups.com>
Hi all,
thanks everyone for the positive feedback on the File Module. Before
finalizing the module, I would propose to add the two convenience
functions that have been proposed by a user:
SIGNATURE
file:current-dir() as xs:string
DESCRIPTION
Returns the current working directory. - This function returns the
same result as the function call file:parent('.')
SIGNATURE
file:base-dir() as xs:string?
DESCRIPTION
Returns the parent directory of the static base URI. If the Base URI
property is undefined, the empty sequence is returned. - If a static
base URI exists, and if points to a local file path, this function
returns the same result as the expression
file:parent(static-base-uri()).
I am looking forward to your feedback,
Christian
Received on Sunday, 23 February 2014 21:32:16 UTC