Michael,

I want a straightforward way to get an XML document (not necessarily
XHTML) from a database via HTTP just by supplying a URL of the form
http://host/path/file (not of the form
http://host/path/xquery?name=file).

Thanks for your suggestions. It sounds like your second idea (setting
HTTP server parameters) might do it.

Tim

On Tue, 2008-12-09 at 17:27 -0800, Michael Blakeley wrote:
> Tim,
> 
> I don't quite understand your question. Do you want fn:doc()?
> 
> Or would you like HTTP clients to be able to request docs? If so, you 
> can simply set the HTTPServer "modules" location and root to point to 
> your content database.
> 
> Or do you want xdmp:document-get(), which can act like an http client 
> itself? There is also xdmp:http-get(), plus other HTTP verbs.
> 
> -- Mike
> 


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to