[XQZone General] xdmp:get-request-field
Tim Finney
tjf2n at virginia.edu
Tue May 9 13:15:36 PDT 2006
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?
On Tue, 2006-05-09 at 20:47 +0100, McBeath, Darin W (ELS-AMS) wrote:
> Not sure what you are trying to do, but you might want to consider the
> following options:
>
> (1) encode the '#' character in the URL
> (2) Use another name-value pair for the 'somewhere' information
> <a href="my.qry?doc=/col/mydoc.xml&loc=somewhere">Go somewhere</a>
>
> Darin.
>
> -----Original Message-----
> From: general-bounces at xqzone.marklogic.com
> [mailto:general-bounces at xqzone.marklogic.com] On Behalf Of Tim Finney
> Sent: Tuesday, May 09, 2006 3:31 PM
> To: General XQZone Discussion
> Subject: [XQZone General] xdmp:get-request-field
>
> I want to use a link this:
>
> <a href="my.qry?doc=/col/mydoc.xml#somewhere">Go somewhere</a>
>
> then use xdmp:get-request-field to get the value of doc, including the
> fragment identifier #somewhere. However, get-request-field only
> returns /col/mydoc.xml. Is there any way to get the whole thing
> (i.e. /col/mydoc.xml#somewhere)?
>
> Best
>
> Tim Finney
> Programmer
> UVa Press
>
>
> _______________________________________________
> General mailing list
> General at xqzone.marklogic.com
> http://xqzone.com/mailman/listinfo/general
> _______________________________________________
> General mailing list
> General at xqzone.marklogic.com
> http://xqzone.com/mailman/listinfo/general
More information about the General
mailing list