[xsl] document() and HTTP headers

Subject: [xsl] document() and HTTP headers
From: Vidar Ramdal <vramdal@xxxxxxxxx>
Date: Mon, 12 Dec 2005 19:19:48 +0100
I want to modify the behaviour of the document() XPath function.

Due to some recent trouble involving an eternal loop of document()
calls, I'd like to set a  Referer header for the HTTP request that is
made when fetching a remote document. By default, it seems, there's no
Referer header set.

If I could set the Referer header to something meaningful, and then
examining it upon receiving a request, I can determine if we're
looping or not.

How can I accomplish that? Using Saxon 6.5.

Vidar S. Ramdal <vramdal@xxxxxxxxx>
"My sources are unreliable, but their information is fascinating"
(Ashley Brilliant)

Current Thread