Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Doing It With SVG (Scalable Vector Graphics), Part 1

September 6, 1999

This month1 we focus on an exciting new graphics standard from the W3C called Scalable Vector Graphics. SVG is positioned to have a major impact on Web graphics because it enables resolution independent graphic rendering either from static text files or when generated from databases, and because it leverages many of the useful features of the XML family of specifications.

Important Usage Notes

At the time of this writing (late August 1999), Web browsers cannot yet display SVG. (This is likely to change in the fall.) Therefore, to experiment with SVG today, you'll need one or more of the SVG viewers described in the article. The SVG viewers require Java external to your browser, either as the JDK (Java Development Kit) or the JRE (Java Runtime Environment), both of which are available from this JavaSoft Products page. You will also need XML parsers, one from IBM and the other from JavaSoft to run the viewers. (Specific links appear on the appropriate pages.) We've tried to make the setup easy for those of you running Windows by including .bat files in which you'll only have to change a few constants to point to your Java and XML parser installation.

Keep in mind that the name of this article is "Doing it With SVG". It is designed to be interactive. You'll learn a great deal more by trying out each of the things that are suggested, even if it means downloading and installing Java, XML parsers and SVG viewers. (Plan to spend about 3-4 hours more than your normal reading time for these extra-curricular activities.) We recommend that you download our examples in svg1.zip (approx. 1.1 MB) so you can experiment on your own.

However, if your time is more limited, there are ample screenshot links in the article that will give you a good idea of how SVG looks and works without downloading or installing anything. But then you won't be "Doing It With SVG", you'll be "Viewing It".

Depending upon the extent of your XML background, you may find it useful to read the following articles and tutorials before reading the current article.

1. In my earlier XML articles, we've explored how XML is ideal for representing structured data, we've examined the role of XML in the big picture of the W3C standardization efforts, we've identified a number of XML software products, and we've seen how XML and Java make a "perfect pair". In Doing It With XML, Part 1, we took an XML document instance and generated a DTD, discussed the relative merits of using elements vs. attributes, saw how to associate the DTD with the XML document, learned how to view XML with Internet explorer 5 (with or without the DTD), considered several validation issues, and also took the W3C browser Amaya for a quick spin. In Doing It With XML, Part 2, we focused on several inexpensive tools for editing XML: XML Pro, XML Spy, Xeena, and XML EditorMaker, and how to use CSS (cascading Style Sheets) or XSL (Extensible Stylesheet Language) to control both the presentation and processing of your XML (especially in IE 5).

Not Just Another Pretty Graphics Standard


Up to => Home / Authoring / Languages / XML / SVG




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers