Changes

Jump to navigation Jump to search
247 bytes removed ,  07:50, 5 June 2012
|-
| '''Summary'''
|Writes a serialized sequence of items to the specified file. If the file already exists, it will be overwritten.<br />The optional argument {{Code|$params}} is used to set the argument contains serialization parameters (see [[Serialization]] for more details).It , which can either be specified as<br />* {{Code|element(serialization-parameters)}}: as children of an {{Code|&lt;output:serialization-parameters/&gt;}} must be used as root element, and the parameters are specified as child nodes, with defined for the element name representing the serialization parameter and the attribute {{Code|value}} representing its value:<br /><code>&lt;serialization-parameters xmlns="[http://www.w3.org/2010TR/xsltxpath-functions-xquery30/#func-serializationserialize fn:serialize()] function, e.g.:<pre class="brush:xml"&gt;><br/output:serialization-parameters>&nbsp;&nbsp;&lt; <output:method value='xml'/&gt;> <br/>&nbsp;&nbsp;&lt;output:cdata-section-elements value="div"/&gt;<br/>&nbsp;&nbsp; ...<br/>&lt;/serialization-parameters&gt;></codepre>* [[Map Module|as map structure]]: , which contains all parameters can be directly represented as key/value pairs:<br /><codepre class="brush:xml">map { "method" := "xml", "cdata-section-elements" := "div", ... }</code><br/pre>
|-
| '''Errors'''
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu