[XQZone General] xdmp:get-request-field
dsokolsky at marklogic.com
Tue May 9 14:29:00 PDT 2006
One way to do what Darin suggested from XQuery is to use
xdmp:url-encode. For example, if you want to put the following on a
you can do this when you construct the URL:
From: general-bounces at xqzone.marklogic.com
[mailto:general-bounces at xqzone.marklogic.com] On Behalf Of Tim Finney
Sent: Tuesday, May 09, 2006 2:18 PM
To: General XQZone Discussion
Subject: Re: [XQZone General] xdmp:get-request-field
I don't know whether the client sends the fragment identifier. That may
be the cause of the problem. It looks like I will have to follow Darin's
On Tue, 2006-05-09 at 14:05 -0700, Jason Hunter wrote:
> 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.
> General mailing list
> General at xqzone.marklogic.com
General mailing list
General at xqzone.marklogic.com http://xqzone.com/mailman/listinfo/general
More information about the General