[XQZone General] xdmp:get-request-field

Jason Hunter jhunter at marklogic.com
Tue May 9 14:05:39 PDT 2006


Tim Finney wrote:
> I am trying to use xdmp:get-request-field to retrieve a field that
> includes a fragment identifier. I would prefer not to have to use
> another name value pair. If I encode "#", shouldn't I have to encode "/"
> as well?

The xdmp:get-request-field() call provides access to HTTP parameters. 
The # isn't a parameter so isn't returned.

The xdmp:get-request-path() call would be more appropriate, but it 
doesn't return the fragment identifier either.

Are you sure the client even sends the fragment identifier to the 
server?  It's a client side concern, not server side.

-jh-



More information about the General mailing list