On Friday 01 February 2002 11:10, Matt Sergeant wrote: > On Fri, 1 Feb 2002, Tod Harter wrote: > > > See perldoc Apache::AxKit::Language::XSP. That's (almost) exactly how > > > "raw" taglibs work, except they're dispatched to different > > > modules/packages by namespace. For an example check out the ESQL > > > taglib. > > > > Honestly I'd just looked at the source of a few Taglibs. It looked like > > XSP just called "parse_start" and "parse_end" and you then had to build a > > test for what was being parsed. I'll have to dig down deep and check out > > how XSP actually dispatches that stuff. > > It's SAX + NS Dispatch. You register a SAX handler for a particular > namespace, then you receive all SAX events for that namespace. It's that > simple.
Very sweet. I'm checking it out now. :o))))))) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
