Thomas,
you can register a 'scheme handler' for this purpose; see the
documentation in shandler.h. This handler gets all requests for URIs
whose schemes are not the internally handled 'file' and 'arg'.
Hope this helps,
Tom Kaiser
Thomas Bopp wrote:
> Hello!
>
> I have the problem, that my xml/xsl content comes from a database.
> It seems like xsl:include does only work on the filesystem though. What
> I
> would like to see is some kind of callback function that reads the
> included
> stylesheet from the given URI. So something like this would work:
>
> sablot->set_uri_callback(func);
>
> string func(string uri) {
> [...]
> return stylesheet-content-corresponding-to-uri;
> }
>
> Or is this already possible ?
>
> ---Thomas
>
>