You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Jason Stewart <ja...@gmail.com> on 2006/10/12 12:04:13 UTC

Re: Accessing Xerces Perl object's from C++.

Hi Ben,

On 8/16/06, Jason Stewart <ja...@gmail.com> wrote:

> but you see - you need access to that 'SWIGTYPE_p__XMLGrammarPool'
> pointer, which at the moment is compiled into Xerces.cpp and not
> accessible from a header file.
>
> I have wanting to do that for many years, but I have never had the
> reason to spend the time to make it work. If you are sufficiently
> motivated, I will put aside some time and get it working if you are
> will to test it with Xerces-C-3.0-beta (I'm no longer updating older
> versions of Xerces-Perl).

This work is now completed. It is now a trivial matter to do a type
lookup of the proper pointer type given the class name, e.g.
"XML::Xerces::InputSource".

If you are still interested, let me know and I can send some example code.

Cheers, jas.