Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: XML and Perl

by princepawn (Parson)
on Nov 14, 2002 at 22:06 UTC ( [id://213031]=note: print w/replies, xml ) Need Help??


in reply to XML and Perl

You mean they didn't mention XML::TreeBuilder ? I love that module. It has the same API as HTML::TreeBuilder which allows me to grok HTML or XML with about the exact same API. Also it is a beautiful example of subclassing. He just had to make the elements of XML::TreeBuilder more restrictive.

Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality

Replies are listed 'Best First'.
Re: Re: XML and Perl
by Matts (Deacon) on Nov 15, 2002 at 14:38 UTC
    It's not a widely used module in the community.

    More people use XML::LibXML (in the Perl and XML community), which also supports the same API for both HTML and XML.

      One cool thing about XML::TreeBuilder is the objectify_text method, which turns plain text nodes into pseudo-tags so you can drill down thru the XML and look for particular text.

      Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-24 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found