Changes

Jump to navigation Jump to search
2 bytes removed ,  19:17, 24 September 2013
no edit summary
|Converts the CSV data specified by {{Code|$input}} to XML, and returns the result as {{Code|element(csv)}} value.<br/>The {{Code|$options}} argument can be used to control the way the input is converted. The following options are available:
* {{Code|separator}} defines the character which separates columns in a row. By default, this is a comma ({{Code|,}}).
* {{Code|headersheader}} specifies if the input contains a header row. The default value is {{Code|false}}.
Options can either be specified<br />
* as children of an {{Code|<csv:options/>}} element; e.g.:
|Serializes the node specified by {{Code|$input}} as CSV data, and returns the result as {{Code|xs:string}}.<br />XML documents can also be serialized as CSV if the [[Serialization|Serialization Option]] {{Code|"method"}} is set to {{Code|"csv"}}.<br/>The {{Code|$options}} argument can be used to control the way the node is serialized. The following options are available:
* {{Code|separator}} defines the character which separates columns in a row. By default, this is a comma ({{Code|,}}).
* {{Code|headersheader}} specifies if the input element names are to be interpreted as header names. The default value is {{Code|false}}.
Options can either be specified<br />
* as children of an {{Code|<csv:options/>}} element; e.g.:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu