Changes

Jump to navigation Jump to search
779 bytes added ,  22:02, 14 September 2011
m
no edit summary
|-
| valign='top' | '''Summary'''
|Writes a sequence of <code>$items</code> to a file specified by <code>$path</code>. If the specified file already exists, it will be overwritten.<br />The optional argument <code>$params</code> is used to set the serialization parameters (see [[Serialization]] for more details).It can be specified as<br />* <code>element(serialization-parameters)</code>: <code>&lt;serialization-parameters/&gt;</code> must be used as root element, and the parameters are specified as child nodes, with the element name representing the serialization parameter and the attribute <code>value</code> representing its value:<br /><code>&lt;serialization-parameters xmlns="http://www.w3.org/2010/xslt-xquery-serialization"&gt;<br/>&nbsp;&nbsp;&lt;method value='xml'/&gt;<br/>&nbsp;&nbsp;&lt;cdata-section-elements value="div"/&gt;<br/>&nbsp;&nbsp;...<br/>&lt;/serialization-parameters&gt;</code>* [[Map_Functions|map structure]]: all parameters can be directly represented as key/value pairs:<br /><code>map { "method" := "xml", "cdata-section-elements" := "div", ... </code>}<br />
|-
| valign='top' | '''Errors'''
administrator, Bureaucrats, editor, reviewer
41

edits

Navigation menu