in reply to How to parse XML coming from a socket?
I'd suggest a switch to XML::LibXML.
It can accept an XML document in chunks, the way you need it. You get a DOM and SAX parser in one package and can mix access to DOM trees with XPath expressions. The actual XML parsing and document tree storage is all done on the C side, so it's much faster and consumes astonishingly little memory compared with XML::Parser-based modules.
It doesn't get any better than that. I'd been a fan of XML::Twig until I discovered this one. Don't leave home without it.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to parse XML coming from a socket?
by mirod (Canon) on Oct 04, 2003 at 18:30 UTC | |
by Aristotle (Chancellor) on Oct 04, 2003 at 18:42 UTC | |
|
Re: Re: How to parse XML coming from a socket?
by vadim_t (Acolyte) on Oct 04, 2003 at 18:52 UTC |