Hi  Holger,
I will look into this and reply back.

Thanks!


Yash Talwar



Holger Dehnhardt <[EMAIL PROTECTED]>

14/08/2006 09:28 AM

Please respond to
dehnhardt

To
[email protected]
cc
Subject
Re: URIResolvers base parameter with xsltc and cascaded imports





Hello!
Sorry for asking again, but I really need some advice with the problem
described below.
Is anyone here who has written an URIResolver or can help in any way, or
should I ask on the developers list?

Thanks Holger

Am Montag, 24. Juli 2006 17:26 schrieb Holger Dehnhardt:
> Hello,
>
> I'm trying to write my own URIResolver to keep track of changes in imported
> stylesheets when compiling the main stylesheet.
> Lets have this layout
>
> 1) http://localhost/main.xsl includes layouts/heads.xsl
> 2) heads.xsl includes ../helpers/someFunctions.xsl
> 3) http://localhost/main.xsl includes layouts/footers.xsl
>
> The interface method "resolve" in my uri-resolver is called three times
> with the following parameters:
>
> 1) href="" base=http://localhost/main.xsl
> 2) href="" base=http://localhost/main.xsl
> 3) href="" base=http://localhost/main.xsl
>
> even if the file is included from another stylesheet like 2), the base does
> not change.
> Storing the base is no solution,
> in 1) the base would be http://localhost/layouts/heads.xsl
> but in 2) it would be http://localhost/helpers/someFunctions.xsl
> and 3) would fail.
>
> Is this expected behaviour and if so, how can I manually keep track of the
> base?
>
> Thanks Holger

Reply via email to