Lionel Barth wrote:
>
> It worked perfectly with :
> concatenate("url('", xpath("resolve-uri('icons/nice.gif',
> $styleSheetURL)"), "')")
>
To my knowledge, when you use url(), your base is the URL of the CSS
style sheet.
This is not the case with image(), where your base is the URL of the
document being edited.
Therefore you just need to specify:
concatenate("url('", xpath(XXXX), "')")
where XXX evaluates to an URL relative to the directory containing the
CSS style sheet.
I'm saying this to allow you to find not only something that works, but
the simplest and most elegant solution to your problem.