On Wed, 2002-11-20 at 05:55, David N Bertoni/Cambridge/IBM wrote: > > > > > No, there's no real facility like that, since it's a bit difficult to do on > all of the supported platforms. > > It might be interesting to come up with an interface to allow for querying > available extension functions in a shared library and/or creating specific > instances of an extension function. If you want to work on something like > that, I'm up for it. The only caveat is we have to make sure it will work > on all supported platforms.
hmm, I have created a shell like XalanTransform which is for now statically linked to my Function subclasses. I am planning to move to using shared libs and GModule from glib2 to load and query them. It strikes me that although it would be very handy to make the standard XalanTransform able to query and load functions from .so or .dll files it would also be pritty much replicating the gmodule code to do it. I'll have to investigate the supported platform list and see if I can cover a reasonable chunk of them and play around before I commit to anything. It might end up simpler to have a glib2 dependent driver program which supports this functionality, though that might be unaccpetable on win32. > > Dave > > > > > > Ben Martin > > <[EMAIL PROTECTED] To: >[EMAIL PROTECTED] > eforge.net> cc: (bcc: David N >Bertoni/Cambridge/IBM) > Subject: extension functions and >implicit lookup > 11/19/2002 02:36 AM > > Please respond to > > xalan-dev > > > > > > > >From reading here, http://xml.apache.org/xalan-c/extensions.html > I can see how to make new functions available to the parser when I am > calling the parser directly. I am wondering if there is a standard place > to put shared libs on unix so that the parser can pick those up using > XalanTransform etc so that I don't have to provide a custom shell to > xslt processing. > > Thanks. > -- > ----------------------------------------------------- > In this world there are only two tragedies. > One is not getting what one wants, > and the other is getting it. > -- Oscar Wilde > http://witme.sourceforge.net/libferris.web/ > > -- ----------------------------------------------------- In this world there are only two tragedies. One is not getting what one wants, and the other is getting it. -- Oscar Wilde http://witme.sourceforge.net/libferris.web/
