Hey John, check out typemaps.i in the new 1.7 code. You can see how I use the new SWIG dynamic casting feature to implement the DOM_Node* polymorphism (you'll need to grab SWIG 1.3.12 from CVS to use it, though).
I've removed all the old crufty actual_cast() code from Xerces.pm thanks to the new SWIG feature, I think it's much easier to handle. Try it for your Grammar code. Cheers, jas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
