Re: [xslt] In memory stylesheet & external entities

david reid wrote:

I've looked at the threads and it does seem as though we have similar
aims, but the include files I want are all on the filesystem, I just
need to adjust the paths :-)

I've added the function but when it's called dict and ctxt are NULL. How
do I set my own data pointer to be passed into the function? Are there
any good examples of it's usage available?

Sorry to be a pain and thanks for your help thus far!

Hi David,

Here's a stupid suggestion (but one that I use in  my code ;-).

Can you set it up so that your external entity loader knows the paths, independent of the context? My external entity loader is a class method and when I construct the class I give it a big list of paths to search. Works like a charm.

- Rush

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