On Wed, Oct 03, 2001 at 04:43:41PM -0700, Jeffrey W. Baker wrote:

> I'd also like to hear people's opinions on XML::DOM (I think it
> stinks and I've replaced it with a C DOM implementation).

You just proved that you already know everything you need to on the
subject of XML::DOM.  :)

Seriously though, what C DOM implementation did you choose and how did
you integrate it with your Perl code?

I've long since abandoned XML::DOM and use things XML::Parser::PerlSAX
instead, but that doesn't achieve what you are talking about vis-a-vis
building up documents element by element.  For output generation, I
still tend to push data into a template engine such as Embperl or
Template::Toolkit and use embedded control structures to manipulate
that data.  Interestingly, the company I used to work at (eZiba) just
ported their front-end over to Mason and ended up somewhere in-between
-- i.e., reusable page components that they build up at run-time.  

Check out the Avacet's (www.avacet.com) TemplateService for an example
of the push model in action.

Cheers,

-DeWitt

Reply via email to