Changes

Jump to navigation Jump to search
393 bytes removed ,  19:02, 22 April 2011
|-
| valign='top' width='90' | '''Signatures'''
|<code><b>file:delete</b>($path as xs:string) as empty-sequence()</code><br /><code><b>file:delete</b>($path as xs:string, $recursive as xs:boolean) as empty-sequence()</code><br />
|-
| valign='top' | '''Summary'''
|Deletes Recursively deletes a file or directory.
|-
| valign='top' | '''Rules'''
|This function recursively deletes a file or directory specified by <code>$path</code>. No operation will be performed if the specified path does not exist.<br />If the optional parameter <code>$recursive</code> is provided, the operation is performed recursively for all sub-directories of the given path.<br />
|-
| valign='top' | '''Errors'''
|<b>[[XQuery Errors#File Functions Errors (FOFL)|FOFL0005FOFL0001]]</b> is raised if <code>$recursive</code> is not specified or set to <code>false</code>, and if the specified path points to a non-empty directorydoes not exist.<br /><b>[[XQuery Errors#File Functions Errors (FOFL)|FOFL0008FOFL0000]]</b> is raised if the operation fails for some other reason.<br />
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu