XML technologies / SVG / SVG basics and possible applications / What is SVG? / Displaying SVG with a plug-in or browser
(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)
How does a browser know to treat SVG as graphics and interpret its instructions? A plug-in is currently required. When the browser encounters an SVG graphic in a page, the plug-in renders and displays it. Browser makers promise native SVG support. Mozilla leads with Croczilla, a Mozilla 0.9 variant rendering SVG inside XML. Such files cannot be embedded in HTML, but can in an XHTML page. Croczilla is at an early development stage, supporting only a small part of SVG.
Other browsers need plug-ins. Several exist but not all support the entire standard. Correct display and feature availability therefore depend on the plug-in.
Note:
Adobe® SVG Viewer is currently most widespread, available for Netscape 4.x and Internet Explorer on Windows and Mac OS. This book’s examples were created and tested with version 2.0, though most also work in 1.0.
Requiring a plug-in need not hinder SVG use: Flash and PDF show that widely distributed plug-ins or helper applications let most visitors use such files.
SVG Viewer’s ActiveX control also works in other applications, such as VB or VBA programs. Adobe® plans distribution through several products, making visitor support increasingly likely. It currently ships with
Adobe® Illustrator 9.0
Adobe® GoLive® 5.0
Adobe® PhotoShop® 6.0
Adobe® Acrobat® Reader 5.0
and is planned for installation with Real Player too.
Other vendors offer standalone SVG viewers, some with printing and extra features. IBM has a JAVA viewer for Linux, but its alpha state requires complex installation on most computers, so it is not covered here. Apache’s Batik project is an SVG viewer based on Java, also displaying file contents clearly and converting SVG to GIF, PNG and JPG. Both programs are freely downloadable from Apache and Adobe websites:
Adobe SVG Viewer Apache Batik SVG Toolkit
Only Opera and Netscape 6 currently lack an official plug-in. Whether this changes soon remains uncertain. Netscape 6 can nevertheless use Adobe’s plug-in: first install Netscape Navigator 4.x and SVG Viewer, then copy the Navigator plug-in files into Netscape 6’s plug-in directory.
Opera also has SVG problems. This book uses Opera 5.11 for Windows. If SVG Viewer is already installed before Opera, graphics display properly but scripts do not run. Netscape 6 likewise cannot execute SVG scripts despite its plug-in. When using SVG navigation, also provide ordinary hyperlinks for Opera and Netscape 6 users.
Copyright © verlag moderne industrie GmbH 2001
You may print the online version for your private use.
Otherwise, this chapter from “Das Einsteigerseminar SVG — Webgrafiken mit XML” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
verlag moderne industrie GmbH, Justus-von-Liebig-Straße 1, D-86899 Landsberg/Lech, fon ++49 (0) 81 91 / 125 – 0, leserservice(at)mi-verlag.de
back to top