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. -- <!-- Matt --> <:->Get a smart net</:-> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
