[Petal] [HELP] Anybody has experience with parsing?

Jean-Michel Hiver jhiver at mkdoc.com
Fri Jun 13 17:20:07 BST 2003


> > Mhhhhh... not so sure about that. I would rather move on the libXML /
> > SAX side of things than Template Toolkit. Basically I think in the long
> > run Petal should be able to:
> > 
> > * use SAX events as input to that it can parse just about anything,
> > * generate completely standalone Perl code
> > * this Perl code should generate SAX events too
> 
> Sounds good, except I don't get the last one. At what point would Perl code be 
> generating SAX events?

I think the code that generates the XML / HTML in the final output could
be generating SAX events instead of generating directly HTML. Then a SAX
handler could turn these events into XML / HTML / PDF / whatever.

-- 
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver at mkdoc.com  - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/


More information about the Petal mailing list