
8 Jul
2005
8 Jul
'05
7:19 p.m.
Oh, cool -- that will make things much easier. Thanks!
-- David
On Friday 08 July 2005 01:23 pm, mental@...3... wrote:
Yes, you can do that, but I would strongly recommend using XML::Node::addObserver rather than XML::Node::addListener in new code.
XML::Node::addListener is effectively just a wrapper around XML::Node::addObserver, and will be going away after the 0.42 release.
Simply subclass XML::NodeObserver and override the notify*() methods for any events you are interested in. You can keep any needed supplemental data in data memebrs of your subclass.
-mental