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 bu

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

2013-09-24 Thread dasos ili
: 11:59 π.μ. Τρίτη, 24 Σεπτεμβρίου 2013 Θέμα: Re: [CODE4LIB] Σχετ: [CODE4LIB] Perl module to transform XSL to JSON 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

[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 Προς: CODE4LIB@LISTSERV.ND.EDU Στάλθηκε: 11:59 π.μ. Τρίτη, 24 Σεπτεμβρίου 2013 Θέμα: Re: [CODE4LIB] Σχετ: [CODE4LIB] Perl module to transform XSL to JSON On Tue, Sep 24

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

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] Perl module to transform XSL to JSON

2013-09-23 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" a écrit : > Greetings, > > could you please

[CODE4LIB] Perl module to transform XSL to JSON

2013-09-23 Thread dasos ili
Greetings,  could you please suggest me a tool in order to transform an xsl file i have manged to get from XML, into JSON? Thank you