xsl-list
[Top] [All Lists]

Re: Uri resolver in Saxon 8

2004-08-11 17:06:56
Michael Kay wrote:
The important thing is to make sure that Saxon knows the base URI of the
stylesheet module. To achieve this, call setSystemId() on the Source object
that's passed to the transform() method.

At first I used DocumentSource (a dom4j implementation) since I already have the documents (dom4j documents) cached and nothing worked regarding setting system id.

I then tried to use a simple StreamSource instead and then it worked perfectly.

I guess there is a bug in dom4j or something then...

Thanks for the answers! Problem solved (almost anyway)

/Marcus


<Prev in Thread] Current Thread [Next in Thread>