Changes

Jump to navigation Jump to search
147 bytes added ,  23:46, 17 October 2013
==csv:parse==
 
{{Version|7.8}}: the return type has been changed from {{Code|element(<csv>)}} to {{Code|document-node(element(<csv>))}}
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|csv:parse|$input as xs:string|document-node(element(csv))}}<br/>{{Func|csv:parse|$input as xs:string, $options as item()|document-node(element(csv))}}
|-
| '''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|header}} specifies if the input contains a header row. The default value is {{Code|false}}.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu