- From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
- Date: Mon, 10 Oct 2005 23:38:24 +1000
- To: www-svg@w3.org
Hi. I wonder if there is any merit to a feature that would allow script to load a resource document from script. This would be different from using the URLRequest interface in that it's a proper SVG document "running in the background", as described in section 17.1. I'm trying write an sXBL definition that has an xlink:href type of attribute. I want to track the referred element for changes so that my custom element can change in response. But I don't want to load that document in a completely insular way: if the referred element changed, then any of my custom elements should be updated. The referred element could actually be in the same document, but I couldn't be sure if I got a URL, since I would have to perform the same HTTP redirect checks that the UA should do for resource documents. A way around this would be to insert a hidden svg element into my element's shadow tree and then access the resource document via the SVGElementInstance tree. It seems a bit hackish, though. Is this a far-fetched use case? Cameron -- e-mail : cam (at) mcc.id.au icq : 26955922 web : http://mcc.id.au/ msn : cam-msn (at) aka.mcc.id.au office : +61399055779 jabber : heycam (at) jabber.org
Received on Monday, 10 October 2005 13:38:38 UTC