couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <m...@jan.io>
Subject Re: What replaces e4x for importing XML into couchdb?
Date Mon, 05 Jan 2015 11:10:15 GMT

> On 05 Jan 2015, at 11:57 , Sayth Renshaw <flebber.crue@gmail.com> wrote:
> 
> Hi I am Sayth from Newcastle Australia.

Heya Sayth! :)

> Starting to use couchdb looking


Welcome!

> around at articles for importing xml data into couchdb I noticed E4X
> mentioned. Following up this it seems now that e4x is deprecated
> 
> There is an article which starts to showw JSX replacing e4x
> http://blog.vjeux.com/2013/javascript/jsx-e4x-the-good-parts.html but it
> appears to me this may be more speculation than anything?
> 
> Would I assume correctly that I should use xquery to filter the xml(large
> and somewhat complex) with the data I want and then convert it into json
> and import from there into couchdb?
> 
> Or is there a more standard way to work with XML in couchdb?

The most forward looking suggestion would be to do all XML parsing in pure JavaScript. I’m
sure there are various projects available to do what you need.

Best
Jan
--


Mime
View raw message