Changes

Jump to navigation Jump to search
464 bytes added ,  17:07, 7 February 2012
no edit summary
return db:add('DB', $file)
</pre>
 
==JSON Parser==
 
BaseX can also be used to import JSON documents.
 
===GUI===
 
Go to Menu ''Database'' → ''New'' and select "JSON" in the input format combo box.
You can set the following options for parsing JSON documents in the "Parsing" tab:
 
* '''Encoding''': Choose the appropriate encoding of the JSON file.
* '''JsonML''': Activate this option if the incoming file is a JsonML file.
 
===Command Line===
==CSV Parser==
===GUI===
Go to Menu ''Database'' → ''New'', choose the ''Parsing'' tab and activate select "csvCSV" in the input format comboboxcombo box.You can set the following options for parsing CSV documentsin the "Parsing" tab:
* '''Encoding''': Choose the appropriate encoding of the CSV file.
* '''Separator''': Choose the column separator of the CSV file (possible: <code>comma</code>, <code>semicolon</code>, <code>tab</code>).
* '''XML format''': Choose the XML format (possible: <code>verbose</code>, <code>simple</code>).
* '''Header''': Activate this option if the incoming CSV files have a header line.
* '''Column Separator''': Choose the column separator of the CSV file (possible: <code>comma</code>, <code>semicolon</code>, <code>tab</code>).
* '''XML format''': Choose the XML format (possible: <code>verbose</code>, <code>simple</code>).
===Command Line===
administrator, Bureaucrats, editor, reviewer, Administrators
408

edits

Navigation menu