[MTOS-dev] XML parsing
Timothy Appnel
tim at appnel.com
Mon Mar 10 17:25:24 PDT 2008
On 3/7/08, Byrne Reese <byrne at sixapart.com> wrote:
> I remember pushing hard for this as well especially because WordPress WXR
> files can become quite larger and a DOM parser requires you to parse the
> whole document in memory before you can even access its contents.
When you know you are definitely working with a smallish document then
the DOM is fine. Personally I think the DOM is too fine-grain and
verbose, but that is probably because I'm used to Perl and its
shorthands and regex goodness. (This is probably why I prefer XPath
and to a certain extent XML::Simple.)
So where does this leave us in this discussion?
<tim/>
--
Timothy Appnel
Appnel Solutions
http://appnel.com/
More information about the MTOS-dev
mailing list