I'd like to create a subclass of XML::Document. However, I'm having
trouble figuring out how I would instantiate my subclass because parsing
requires Parser.parse() which returns an XML::Document instead of
My::Subclass. Unfortunately, Ruby doesn't have a way of changing the
class of an object.

Any suggestions?

-- Mark.

_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to