Re: [xslt] data callbacks?
- From: "Sam Liddicott" <sam liddicott com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] data callbacks?
- Date: Tue, 21 Oct 2008 17:36:40 +0100
* Paul Miller wrote, On 21/10/08 17:25:
>
> 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.
>
Yes.
I'm looking at a similar thing.
Look in the libxslt source in the exslt dir at some of the functions
there like str:tokenize.
You can register your own C functions in like manner after you've loaded
an initialized libxslt.
You'll see some of the things you have to do on the libxslt stack to
return an rtf, you may want to look at the exslt:node-set function
source too, to make sure you return a proper node set, not a mere rtf.
Sam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]