CSV, text equivalents to json:parse() and parse-xml()?
Howdy -- For JSON and XML, mechanisms to generate an in-memory document from an xs:string() exist. For CSV or text inputs, however, I'm unclear on how to do this without declaring options and invoking db:add() -- not ideal when the content being handled is intended only for transient, one-time-only processing. Pointers? (If there exists a mechanism to invoke any available parser without necessarily creating a new database, this would be ideal). Thanks!
For JSON and XML, mechanisms to generate an in-memory document from an xs:string() exist. For CSV or text inputs, however, I'm unclear on how to do this without declaring options and invoking db:add() -- not ideal when the content being handled is intended only for transient, one-time-only processing.
...just another issue that has already been resolved for a commercial customer. It will soon end up in the open source branch as well. Christian
participants (2)
-
Charles Duffy -
Christian Grün