Hi Christian
Thanks - that solved it!
Best, Lars
2014-09-02 17:48 GMT+02:00 Christian Grün christian.gruen@gmail.com:
Hi Lars,
the relative URL "static/logo.png" will be rewritten by your browser to the destination URL. If your URL is e.g....
http://localhost:1234/show/xyz
...then the image URL will be rewritten to...
http://localhost:1234/show/static/logo.png
In other words, there is no way for BaseX, RESTXQ or the web server to do "correct" this address resolution.
The easiest solution to tackle this is to use absolute paths. The following URL...
<img src="/static/logo.png"/>
...will be rewritten to...
http://localhost:1234/static/logo.png
Hope this helps, Christian