Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: XML Parsing using perl

by sundialsvc4 (Abbot)
on Feb 21, 2014 at 15:17 UTC ( #1075739=note: print w/replies, xml ) Need Help??

in reply to XML Parsing using perl

Whereas I would have suggested XML::LibXML, because this gives you direct access to what, I believe, is the industry-standard library for dealing with XML.   In particular, it gives you access to XSLT, and it is positively goofy what you can do with that technology, without writing a single line of “programming” at all.   For instance, consider the famous Interactive Periodic Table of the Elements web site, which is entirely formatted by your browser, on your browser, without using any JavaScript to do or to control the formatting.   You can use XSLT to “query” your data-source to answer questions just like the one you posed.   Heck, you can even do it within a capable spreadsheet:   there are lots of clients of

Replies are listed 'Best First'.
Re^2: XML Parsing using perl
by Jenda (Abbot) on Feb 21, 2014 at 23:07 UTC

    Writing XSLT IS programming, just like writing SQL or Prolog or Haskel is. You don't need to have to write

    step 1. do this
    step 2. do that
    step 3. while something is true repeat step 4.
    step 4. do whatever
    step 5. blah blah
    to be programming!

    And that page ... without JavaScript? Really? Did you look at the sources? <script type="text/javascript" language="javascript" src="tooltip/script.js"></script> is what?

    If you are used to "the industry standard" ... that is to something designed for the lowest common denominator of programming languages still in use today ... by all means go with XML::LibXML.

    Enoch was right!
    Enjoy the last years of Rome.

Re^2: XML Parsing using perl
by Your Mother (Bishop) on Feb 21, 2014 at 23:54 UTC

    Yeah… turn off JS and that periodic table page does not load any content whatsoever, and it has 24 script tags.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1075739]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-05-22 20:43 GMT
Find Nodes?
    Voting Booth?