Re: svg with http paramter

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