Re: Memory problem with XML::DOM::Parser???
From: Ben Morrow (usenet_at_morrow.me.uk)
Date: 06/07/04
- Next message: Mike Mimic: "Convert unicode string to "basic characters""
- Previous message: R. Rajesh Jeba Anbiah: "Re: Regexp: Lazy match workaround?"
- In reply to: Markus Mohr: "Re: Memory problem with XML::DOM::Parser???"
- Next in thread: Tad McClellan: "Re: Memory problem with XML::DOM::Parser???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 7 Jun 2004 05:01:57 +0000 (UTC)
Quoth markus.mohr@mazimoi.de:
> On Sun, 6 Jun 2004 03:52:10 +0000 (UTC), Ben Morrow
> <usenet@morrow.me.uk> wrote:
>
> >Quoth markus.mohr@mazimoi.de:
> >>
> >> Now, here is the code, and that's prety all I have to master.
> >>
> >> Do you think there is anything to do about rwriting this piece of code
> >> for XML::LibXML2?
> >
> >All of this stuff will be the same with XML::LibXML, once you have your
> >CXML object using the same DOM library.
> >
> >In theory, as the DOM provides a specification of the methods etc., you
> >should simply be able to switch 'XML::LibXML' for 'XML::DOM' throughout
> >and it'll all be fine... it won't, of course (life's never that simple),
> >but the changes required shouldn't be major.
>
> Okay, Ben, thank you very much. Here is the complete code for
> "CXML.pm" for your interest. Of course, it contains XML::DOM
> statements.
>
> Can you have a look at this file as well?
No, *you* look at it. AFAICS, there is very little in there that won't
work if you simply change 'XML::DOM' to 'XML::LibXML' throughout. When
you've done this, and fixed the obvious differences (e.g. LibXML takes
the xml version and encoding in the document constructor rather than in
a separate method call) *then* post back if you have any insurmountable
problems, with a *SMALL* complete example showing what it is you can't
figure out.
Ben
-- Musica Dei donum optimi, trahit homines, trahit deos. | Musica truces molit animos, tristesque mentes erigit. | ben@morrow.me.uk Musica vel ipsas arbores et horridas movet feras. |
- Next message: Mike Mimic: "Convert unicode string to "basic characters""
- Previous message: R. Rajesh Jeba Anbiah: "Re: Regexp: Lazy match workaround?"
- In reply to: Markus Mohr: "Re: Memory problem with XML::DOM::Parser???"
- Next in thread: Tad McClellan: "Re: Memory problem with XML::DOM::Parser???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|