Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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.

neophyte

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?
        cheers,
        Don
        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.

        --
        <http://www.dave.org.uk>

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-19 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found