Re: DOM thingies
by Robin Berjon other posts by this author
Dec 5 2001 3:02PM messages near this date
view in the new Beta List Site
Re: DOM thingies
|
How can I use xml file encode gb2312 with XML::Parser
On Wednesday 05 December 2001 13:00, Edwin Pratomo wrote:
> Uh yes, it also has the same generate() method! I didn't see it before,
> and I thought you had removed it when you rewrote LibXML::SAX::Generator
> into this, and just use the dom internally.
> Haven't tried the to_sax() function. Has XML::DOM already supported
> namespace?
Unless it's been updated for that recently, no. It's a DOM1 implementation.
> IMO, it would be better if the Generator is pulled out as a separate
> module, so every DOM implementation doesn't have to come with its own
> generator, duplicating the same work again and again.
That's (one of) the idea(s) behind PerlDOM: come up with an API common enough
that we can have such generators. Right now all DOMs are pretty much going
their own separate ways. That's fine, but having a common API (possibly on
top or below less common ones) would help a lot.
--
_______________________________________________________________________
Robin Berjon <robin@[...].com> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
-----------------------------------------------------------------------
drug, n: a substance that, injected into a rat, produces a scientific
paper.
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml
Thread:
Matt Sergeant
Nick Semenov
Sterin, Ilya
Randy Kobes
Edwin Pratomo
Robin Berjon
|