W3C home > Mailing lists > Public > www-svg@w3.org > May 2000

Linking from an HTML-page into a svg-document

From: Herzog, Juergen <Juergen.Herzog@telekom.de>
Date: Wed, 24 May 2000 08:53:36 +0200
Message-Id: <5FC5AB326FBFD211A0920800060D9A9F05AA961F@U8P16>
To: "'www-svg@w3.org'" <www-svg@w3.org>
Hi,

I tried the following with IE4.0 and adobe-plugin:
I have an HTML-page with two frames:
One showing info.html ("infoFrame") and another one showing streets.svg ("svgFrame").

Here is info.html:

<HTML>
<H1>Street-List</H1>
<A HREF ="streets.svg#myview"                            TARGET="svgFrame">road-geom</A><BR>
<A HREF ="streets.svg#xptr(id('myview'))"                TARGET="svgFrame">road-geom</A><BR>
<A HREF ="streets.svg#svgView(viewBox(50,50,100,100))"   TARGET="svgFrame">road-geom</A><BR>
</HTML>

And here is streets.svg:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg SYSTEM "svg-19990812.dtd">
<svg width="500" height="500">
		<g><polyline points="10.0,10.0 490.0,290.0"/></g>
		<svg id="myView" viewBox="50 50 100 100" >
			<g><polyline points="10.0,110.0 490.0,390.0"/></g>
		</svg>
		<g><polyline points="10.0,210.0 490.0,490.0"/></g>
</svg>

Trying each link in info.html I got these error messages:
"Internet explorer could not open site: ...\streets.svg#myview System could not find file."
"Internet explorer could not open site: ...\streets.svg#xptr(id('myview')) System could not find file."
"Internet explorer could not open site: ...\streets.svg#svgView(viewBox(50,50,100,100)) System could not find file."

Using a view-element instead of the innermost svg-element brought up the same result.

With Netscape Navigator 4.04 I always got the complete document shown in svgFrame.
The fragment-identifier behind the "#" seems just to be ignored.

What's wrong here?

Regards Jürgen


===T= Deutsche Telekom AG
> Zentrale IV-Unterstützung der Prozesse NI
> Projekt Megaplan
> Jürgen Herzog, isys software gmbh
> Mornewegstraße 45a
> Darmstadt
> ----------------------------------------------------------------
> %    Tel.:      (06151) 83-6712
> *      Fax:      
> *  Mailto:Juergen.Herzog@telekom.de
> 
> 
Received on Wednesday, 24 May 2000 02:54:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:47 GMT