Changes

Jump to navigation Jump to search
34 bytes removed ,  19:48, 15 November 2020
m
file:size, corrected the parameter name from $file to $path to match Summary
|-
| '''Summary'''
|Writes a serialized sequence of items to the specified file. If the file already exists, it will be overwritten.<br />The {{Code|$params}} argument contains serialization parameters (see [[Serialization|serialization parameters]] for more details. As with [https://www.w3.org/TR/xpath-functions-31/#func-serialize fn:serialize()], which the parameters can either be specified<br />* either as children of an {{Code|&lt;output:serialization-parameters/&gt;}} element, as defined for the [https://www.w3.org/TR/xpath-functions-31/#func-serialize fn:serialize()] function; e.g.:
<syntaxhighlight lang="xml">
<output:serialization-parameters>
</output:serialization-parameters>
</syntaxhighlight>
* or as map, which contains all key/value pairs:<syntaxhighlight lang="xmlxquery">
map { "method": "xml", "cdata-section-elements": "div", ... }
</syntaxhighlight>
|-
| width='120' | '''Signatures'''
|{{Func|file:size|$file path as xs:string|xs:integer}}<br />
|-
| '''Summary'''
administrator, editor
33

edits

Navigation menu