Re: XML::SAX::Expat - can't stop parsing
by Todd R Wade other posts by this author
Sep 4 2002 4:28PM messages near this date
view in the new Beta List Site
Re: Subclassing XML::LibXML::Document
|
XML::SAX::Expat - can't stop parsing
Aaron Straup Cope wrote:
> Hi all,
>
> I'm not sure if this is a bug or just a config option that I missed but
I
> am encountering decidely bad bevahiour when try to use XML::SAX::Expat
in
> a mod_perl context.
>
> I have a directory full of DocBook and plain-text documents for browsing
> on the web. The directory index is generated using a handler that calls
> XML::Filter::XML_Directory_2XHTML [1].
>
> The handler tries to determine and present <articleinfo> data for each
> file using the 'set_handlers' method (code included below)
>
> In turn the file is parsed using XML::SAX::ParserFactory and relevant
data
> passed off to a XML::SAX::Writer handler.
> snip...
Just a suggestion as to your implementation, Ive found
HTML::Template::XPath to be simply amazing for generating the final
html document. I was using SAX to do the whole thing, and I still use
it to generate dynamic data, but since I've found
HTML::Template::XPath, I've been churning out web app features in a
fraction of the time.
Having XPath in the toolbox is always a plus.
Todd W.
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|