Re: How can I get at the document url?

Posted by Erik Bruchez on
URL: https://discuss.orbeon.com/How-can-I-get-at-the-document-url-tp44819p44820.html

Do you mean the URL of the document on the server, e.g.:

oxf:/apps/my-app/foo.xhtml

Or do you mean the URL as seen by the browser, e.g.:

http://example.com/orbeon/my-app/foo

-Erik

On Fri, Jul 31, 2009 at 2:34 AM, Mathias Picker<[hidden email]> wrote:

> What would be the right way to get at the document url of the xforms
> document? I only find fn:document-uri(), but can I get at the xforms
> document with xpath, or only at instances defined in the model?
>
> Do I need to escape into javascript for this?
>
>
>
> Thanks for any pointers,
>
> Mathias
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws