Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: On XML parsing

by neophyte (Curate)
on Dec 14, 2000 at 15:47 UTC ( [id://46603]=note: print w/replies, xml ) Need Help??

in reply to On XML parsing

Right you are, mirod.
May I add that the same applies to HTML (remember: HTML 4.0 is followed by xhtml 1.0 which is an XML DTD). So parsing HTML is best left to a HTML::Parser or similar parsing or templating modules.


Replies are listed 'Best First'.
Re: (2) On XML parsing (tutorial, perhaps?)
by ybiC (Prior) on Dec 14, 2000 at 18:25 UTC
    Sounds like sage advice from good monks mirod, neophyte and tilly.

    For the great unwashed masses (like myself - gasp) who still parse with regexen, new PM Tutorials on HTML::Parser and XML::Parser or even Parse::RecDescent would make t'sall good.   And prolly probably garner a few ++'s.

    Any takers?
        striving for Perl Adept
        (it's pronounced "why-bick")

      You could start by having a look at the module review for XML::Parser and Parse::RecDescent comes with a huge pod (what else would you expect from Damian anyway, it's even in English, no Latin nor Klingon) and I think a tutorial somewhere in the .tar file.

        Parse::RecDescent also comes with a copy of Damian's article "The man of Descent" which was originally published in the The Perl Journal a couple of years ago. This is a great introduction to parsing technology in general and using Parse::RecDEscent in particular.


        "Perl makes the fun jobs fun
        and the boring jobs bearable" - me

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://46603]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-05-25 01:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found