Changes

Jump to navigation Jump to search
82 bytes removed ,  09:23, 29 July 2020
|- valign="top"
| [[#file:descendants|file:descendants]]
| new function (since {{Version|9.3}})
|- valign="top"
| [[#file:is-absolute|file:is-absolute]]
==file:descendants==
 
{{Mark|Introduced with Version 9.3:}}
{| width='100%'
|-
| '''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 [http://www.w3.org/TR/xpath-functions-30/#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>
=Changelog=
 
;Version 9.3
* Added: [[#file:descendants|file:descendants]]
;Version 9.0
* Added: [[#file:descendants|file:descendants]]
* Updated: [[#file:read-text-lines|file:read-text-lines]]: <code>$offset</code> and <code>$length</code> arguments added.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu