Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: XML Module Recommendations

by bronto (Priest)
on Jan 26, 2003 at 19:22 UTC ( #230014=note: print w/replies, xml ) Need Help??


in reply to XML Module Recommendations

I want to be able to access any part of the document at any given time.

This seems to be the task for XPath; if you take a few time to learn the basics you could easily use XML::XPath, which should do exactly what you need

Ciao!
--bronto

# Another Perl edition of a song:
# The End, by The Beatles
END {
  $you->take($love) eq $you->make($love) ;
}

Replies are listed 'Best First'.
Re: Re: XML Module Recommendations
by mirod (Canon) on Jan 26, 2003 at 22:06 UTC

    You might want to benchmark it though, in my experience XML::XPath is pretty slow and might have a problem with a 10 MB file (see Ways to Rome for a simple benchmark of the various modules). matts might have a different opinion obviously ;--)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-01-17 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?