Re: [xslt] data callbacks?



On Tue, Oct 21, 2008 at 11:25:54AM -0500, Paul Miller wrote:
> Robert Koberg wrote:
>
> Okay, sounds doable. But can my "path/to/script" end up calling a  
> registered callback function in my code? Note that I'm embedding libxslt  
> in a stand-alone C/C++ application with an embedded web-kit renderer.
>

I think you're looking for something along the lines of:

xsltRegisterExtFunction
see:
http://xmlsoft.org/XSLT/html/libxslt-extensions.html#xsltRegisterExtFunction

You should be able to register a C/C++ function from your application as an
xpath function.

Kyle


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]