|Keep It Simple, Stupid|
Re^6: Is there any XML reader like this? (XML::Simple beats LibXML hands down in the speed stakes!)by BrowserUk (Pope)
|on Jan 16, 2012 at 09:14 UTC||Need Help??|
Yeah, LibXML. My tests *included* the time it took to extract the data from the tree.
Hm. So did mine. But I believe mine.
We use XML::Bare with a thin layer to compensate for it's awful interface (XML::Simple without ForceArray or any other option)
S'funny init. It took less than a minute to disprove that. And after 5 minutes, I'm pretty sure I could use XML::Bare to read a file and get access to its content.
Conversely, when I tried to look up getDocumentElement, I completely crapped out after about an hour. You applied it to the return from load_xml() which is labelled $dom. So look in DOM. Nada. Maybe a Node. Nada. How about a parser, or a nodelist or a namespace? Nada, nada, nada!
Your idea of an "awful interface" is weird.
XML::LibXML fails on every count.
Can we stop now, because we are once again doing nothing to help the OP; nor each other.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.