[xmlsec] xmlsec1 command line tool examples?
Rich Salz
rsalz@datapower.com
Thu, 17 Jul 2003 20:47:45 -0400 (EDT)
> Yes, it's a great tool to wrap a standalone library. However, in xmlsec
> I need to integrate xmlsec wrapper with libxml,libxslt and openssl wrappers
> (i.e. I want a DOM tree from libxml wrapper to be used as a parameter
> in a call to xmlsec wrapper and so on). And swig does not help at all.
Well, just because libxml made a mistake by not using swig, you don't have
to repeat it. :) You can treat the libxml python-wrapped DOM objects as
special pointers, and use "typemap" (I think I remember the term
correctly), so that Python folks just pass DOM objects, and you -- once --
write code to convert that so your C++ code easily gets the libxml DOM
object.
/r$