When running BaseX http-server, I wondered where resources like javascript and css should be located. The .xqm-file for the welcome RESTXQ module seems to fetch its svg and css from a static directory under webapp. However, when sending  HTML code from within a home made query, it won't connect to any css neither within webapp nor webapp/static, nor even with an absolute path. 

Best
Lars G Johnsen
National Library of Norway