Re: [CODE4LIB] Perl module to transform XSL to JSON

2013-09-24 Thread Henri-Damien LAURENT
Hi As far as Perl has to be used, I would just use XML::Twig to parse the xml and JSON to dump But you could also write some xslt and you would use xsltproc. It is cli based technique. xslt is tough but worth it. Le 23 sept. 2013 09:40, dasos ili dasos_...@yahoo.gr a écrit : Greetings,

Re: [CODE4LIB] Perl module to transform XSL to JSON

2013-09-24 Thread Marc Chantreux
hello, On Mon, Sep 23, 2013 at 08:40:27AM +0100, dasos ili wrote: could you please suggest me a tool in order to transform an xsl file i have manged to get from XML, into JSON? i'm a little bit confused by your message: why do you want to translate an XSL file (which is an XML transformation

Re: [CODE4LIB] Σχετ: [CODE4LIB] Perl module to transform XSL to JSON

2013-09-24 Thread Marc Chantreux
On Tue, Sep 24, 2013 at 09:29:58AM +0100, dasos ili wrote: for storage in mongodb and elasticsearch then don't convert anything and just store the xml content as a value: ( less code, less transformation, less computation so more speed and more reliability) use IO::All; use MongoDB; my $xml

[CODE4LIB] Σχετ: [CODE4LIB] Σχετ: [CODE4LIB] Perl module to transform XSL to JSON

2013-09-24 Thread dasos ili
and another thing, will elasticsearch work directly to XML? Απο: Marc Chantreux m...@unistra.fr Προς: CODE4LIB@LISTSERV.ND.EDU Στάλθηκε: 11:59 π.μ. Τρίτη, 24 Σεπτεμβρίου 2013 Θέμα: Re: [CODE4LIB] Σχετ: [CODE4LIB] Perl module to transform XSL to JSON On

[CODE4LIB] Σχετ: [CODE4LIB] Σχετ: [CODE4LIB] Perl module to transform XSL to JSON

2013-09-24 Thread dasos ili
What i am trying to achieve is to make a model out of this XML, a simpler one, since i am facing problems how to index make a query and retrieve results to such a complex syntax, any suggestions? Απο: Marc Chantreux m...@unistra.fr Προς:

Re: [CODE4LIB] Σχετ: [CODE4LIB] Σ��ετ: [CODE4LIB] Perl module to transform XSL to JSON

2013-09-24 Thread Marc Chantreux
On Tue, Sep 24, 2013 at 10:05:15AM +0100, dasos ili wrote: What i am trying to achieve is to make a model out of this XML, a simpler one, since i am facing problems how to index make a query and retrieve results to such a complex syntax I really don't understand what you want to achieve but

Re: [CODE4LIB] A Proposal to serialize MARC in JSON

2013-09-24 Thread Riley Childs
I would be very interested to see how you implement this. Riley Childs Junior and Library Tech Manager Charlotte United Christian Academy +1 (704) 497-2086 Sent from my iPhone Please excuse mistakes On Sep 24, 2013, at 6:31 AM, Marc Chantreux m...@unistra.fr wrote: On Tue, Sep 03, 2013 at

Re: [CODE4LIB] New perl module MARC::File::MiJ -- marc-in-json for

2013-09-24 Thread Marc Chantreux
hello, On Mon, Jul 15, 2013 at 11:00:35AM -0400, Bill Dueber wrote: The marc-in-jsonhttp://dilettantes.code4lib.org/blog/2010/09/a-proposal-to-serialize-marc-in-json/ My 2 cents: * don't specify a MARC-in-Whatever format: define the way you store the MARC record in memory then just use

Re: [CODE4LIB] A Proposal to serialize MARC in JSON

2013-09-24 Thread Marc Chantreux
On Tue, Sep 24, 2013 at 06:39:14AM -0400, Riley Childs wrote: I would be very interested to see how you implement this. see specification in search.cpan.org/~marcc/marc-mir-0.4/lib/MARC/MIR.pod regards -- Marc Chantreux Université de Strasbourg, Direction Informatique 14 Rue René Descartes,

[CODE4LIB] Σχετ: [CODE4LIB] A Proposal to serialize MARC in JSON

2013-09-24 Thread dasos ili
thank you very much for your help Απο: Marc Chantreux m...@unistra.fr Προς: CODE4LIB@LISTSERV.ND.EDU Στάλθηκε: 2:35 μ.μ. Τρίτη, 24 Σεπτεμβρίου 2013 Θέμα: Re: [CODE4LIB] A Proposal to serialize MARC in JSON On Tue, Sep 24, 2013 at 06:39:14AM -0400, Riley

Re: [CODE4LIB] New perl module MARC::File::MiJ -- marc-in-json for

2013-09-24 Thread Ross Singer
This serialization would actually be awful for the OP's use case, which (as I understand it) is to put it in MongoDB and Elasticsearch (which are exactly the use cases marc-in-json is designed for). In this array of arrays approach, where the tag name is just another value (as opposed to a key),

[CODE4LIB] Σχετ: [CODE4LIB] New perl module MARC::File::MiJ -- marc-in-json for

2013-09-24 Thread dasos ili
My initial problem though with the marc-in-json approach is the complexity of the JSON, i am looking to find a simpler model in order to also make my queries, in ES for example, simpler to implement. If anyone has any examples of how make use of this marc - in - json output in order to use ES,

Re: [CODE4LIB] Σχετ: [CODE4LIB] New perl module MARC::File::MiJ -- marc-in-json for

2013-09-24 Thread Ross Singer
I mean, I'm not arguing against using a better a model for ES, but querying marc-in-json doesn't seem that complicated to me: { query: { query_string: { query: fields.100.a:Shakespeare } } } I don't see how you'd do this in MIR. But I'm starting to have a hard time following

[CODE4LIB] Intro to Open Source event for women students in Chicago this Weds Thurs

2013-09-24 Thread Rosalyn Metz
Hi Folks! If there are any women students on this list that live in the Chicago area, check out this event UIC is putting on this week -- it'll be a great intro to open source. Those of you who aren't students, please feel free to spread the word! Rosalyn --- On Wednesday,

Re: [CODE4LIB] New perl module MARC::File::MiJ -- marc-in-json for

2013-09-24 Thread Marc Chantreux
hello Ross and many thanks for replying, On Tue, Sep 24, 2013 at 08:47:19AM -0400, Ross Singer wrote: In this array of arrays approach, where the tag name is just another value (as opposed to a key), you cannot take advantage of JsonPath, thereby eliminating almost any possible way of querying

[CODE4LIB] Job: Applications Support Engineer at Washington Research Library Consortium

2013-09-24 Thread jobs
JOB TITLE: Applications Support Engineer SUMMARY: The Applications Support Engineer plays a key role in achieving the Washington Research Library Consortium (WRLC) vision and mission by providing high- quality technical development and support for a variety of commercial, in- house and

[CODE4LIB] Call for Proposals: Ohio Valley Group of Technical Services Librarians 2014 Conference

2013-09-24 Thread Preston, Carrie
Please excuse cross-posting. Call for Proposals: Ohio Valley Group of Technical Services Librarians 2014 Conference Theme: Local Talent, Global Impact Place: Ohio University Inn, Athens, Ohio Dates: May 28-30, 2014 http://ovgtsl2014.wordpress.com/ Library technical services staff

Re: [CODE4LIB] Expressing negatives and similar in RDF

2013-09-24 Thread Jeremy Nelson
Hi Karen, Thanks for the link. I have to admit a certain ignorance about using SPARQL over triple-stores although I've started researching how to provide a SPARQL end-point to the Redis Library Services Platform. So more to the topic in this email thread, in the Redis bibliographic datastore my