Bob,
Could you share some of your code so maybe someone can help you?
Thanks,
- Matt
Hi Laurent:I switched from using REXML to NSXML. NSXML is trickier to use but considerably faster than REXML. The subclassing capability would make my app even faster if I can figure out how to use it. I doubt there is a problem except that the NSXMLFidelityElement class is not mentioned in the documentation. I would like to see a MacRuby example that subclasses NSXMLElement.Thanks,Bob RiceOn Jan 9, 2011, at 5:23 PM, Laurent Sansonetti wrote:Hi Robert,_______________________________________________Could you reduce the problem to a simple script and paste the code here?Thanks,LaurentOn Jan 9, 2011, at 11:47 AM, Robert Rice wrote:I've been trying to subclass NSXMLElement in MacRuby without success. I have implemented NSXMLDocument.replacementClassForClass returning my custom subclass to replace NSXMLElement but the parser returns NSXMLFidelityElement instances rather than my custom class instances._______________________________________________Has anyone done this in MacRuby?Thanks,Bob Rice
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel