W3C home > Mailing lists > Public > www-svg@w3.org > October 2003

Re: svg with http paramter

From: Robin Berjon <robin.berjon@expway.fr>
Date: Mon, 06 Oct 2003 17:12:24 +0200
Message-ID: <3F818658.3090603@expway.fr>
To: Dean Jackson <dean@w3.org>
Cc: Alfred Tsang <atsang@ic.sunysb.edu>, www-svg@w3.org

Dean Jackson wrote:
> On Wed 10 Sep 2003, Alfred Tsang wrote:
>>Is it possible to pass a parameter to svg from http GET method?
>>for example, http://localhost/somesvg.svg?foo=bar, how can I access foo?
> The SVG specification doesn't say anything about this.
> Does document.location give you the info?

document.location.query might give the entire string (IIRC including the leading 
?). There was talk a while back about having a "Browser DOM" (perhaps "HTTP DOM" 
would be better?) that would expose a small set of such methods and be reusable 
accross user agents. Perhaps just picking the small useful subset could be done 
quick, and since those things are widely implemented in HTML clients perhaps a 
Note would suffice (to flag common behaviour)?

Robin Berjon <robin.berjon@expway.fr>
Research Scientist, Expway      http://expway.com/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488
Received on Monday, 6 October 2003 11:12:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:59 UTC