On Mon, 17 Feb 2003, Kip Hampton wrote: > Robin Berjon wrote: > > Jörg Walter wrote: > > > >> On Monday, 17. February 2003 04:08, Kip Hampton wrote: > >> > >>> Feature: > >>> Add a get_dom() method to the Providers to allow custom Provider authors > >>> to pass in an XML::LibXML DOM document instance. > >> > >> > >> Look at LibXSLT.pm for example - the code used to parse the XML is > >> used all over AxKit in several places. We should either let get_dom do > >> that work (parsing the FH or strref if neccessary), and let all others > >> only call get_dom instead of trying several methods, or provide other > >> helper methods in case get_dom is not able to exactly replace the > >> current code. > > > > > > Brilliant idea! +1 from me. > > +1 here, too. A lot less messy that way.
Aren't we implying that things always then have to be in memory? That was the idea behind get_fh() in the first place - some Language modules or other parts of axkit might be happier with a filehandle than a DOM or string. Or am I missing something obvious? -- <!-- Matt --> <:->get a SMart net</:-> Spam trap - do not mail: [EMAIL PROTECTED]