Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: XSLT processing huge XMLs

by ajt (Prior)
on Feb 07, 2005 at 11:44 UTC ( #428635=note: print w/replies, xml ) Need Help??

in reply to XSLT processing huge XMLs

I've found XML::LibXML and XML::LibXSLT to be very powerful modules, that when combined are capable of processing large and complex XML files. They are based on the very good Gnome libXML2 and libXSLT libraries.


* EDIT: Extra Links added *


Replies are listed 'Best First'.
Re^2: XSLT processing huge XMLs
by Anonymous Monk on Feb 07, 2005 at 11:57 UTC
    Is there any alternative to extent Sablotron ?... Needs to overcome the .Net solution that translates the xml in few secs... That means to work exclusively in win32. For small xmls Sablotron is excellent but considering huge xmls.. Dont know, maybe something to parse the xml in chunks translate those sequentialy (with xsl)and adding them in the final xml version of the xslt. Is there any hinds for that approach? Thanks for your concer ajt.

      XML::LibXSLT will install okay on Win32, you can build all the bits yourself, use the Cygwin version of Perl or install a pre-compiled binary, see below for more details:

      While you are here you may wish to join the Monastery, which will improve your experience of the place by enabling extra features.

      Goood Luck,

        Unfortunatelly couldnt install them on the win platform (no ppm available and the cpan refuce to complete the task). I suppose that these are the alternatives that i was looking for? Any ideas on how to improve Sablotron on those tasks? Thinking that the XML::Parser::Expat memory leak is common to other perlish approaches... so a general alternative might be usefull. Doesnt it? am i missing something?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://428635]
[Tux]: Corion++ hippo++
[ovedpo15]: it isn't homework. its a module I use at work. The process to add additional module isn't worth it. p.s never heard a university course which teach perl
[marto]: there are many, to this day.
[ovedpo15]: @Corion Yes I use the regex you showed me. its very good regex. although now i need to know that substring unit that comma
marto mad corrections to one around 18 months ago
[ovedpo15]: my code checks the value after that comma, if it isn't valid it will remove it. so I would like to remove the substring after that comma meaning getting the string before comma.
[hippo]: Are you sure that Text::CSV_XS isn't already installed at your work? It's such a useful module that it might well be there.
[marto]: pointing out the advantages of cpan modules is well worth in, as both developer and $client/$company benefit greatly
[Tux]: $src =~ m{^(.*),(.*)$/ and $2 !~ $valid and $src = $1;
[Tux]: s,/,},

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2018-05-27 10:47 GMT
Find Nodes?
    Voting Booth?