Using Sun Java Studio Creator with SVG - SVG files used in this tutorial
(Page 3 of 4 )
While this tutorial is not about SVG, the SVG files used in the tutorial are shown here together with screen shots of how they are rendered in the IE 6.0 browser. SVG files are XML files and are usually saved with the .svg extension. Here is the circles.svg file used in one of the examples.
This creates a view area of 100mm x 100mm with four circles with different radii filled with different colors. Thetag denotes that it is a svg file. Also note the reference to the DTD in the DOCTYPE. More recently browsers have started supporting SVG file types and rendering them without the need of special viewers. If you just double click the file icon on your desktop, IE or FireFox would render them like any file with the .htm extension. The displayed portion of the graphic is shown in the next picture.
The second SVG file used in the example is UnicodeTest.svg (a tutorial I wrote in 2004). This was a test file created to see if the browser is capable of rendering the Unicode characters. More recently browsers have started supporting SVG files without the need for an SVG viewer such as the Adobe SVG Viewer. IE 7.0 supports it with an additional install of a Adobe ActiveX control, whereas some browsers like Firefox 2.0 and Opera have embedded viewers.
The next picture shows this rendered file on IE 6.0 with an Adobe viewer. The way these characters were generated was through the intermediary of a Microsoft Word document. The characters were copied from the web pages in their native languages and pasted into the Word document, through whose source these characters were mapped. You may be able to do the same in Microsoft FrontPage 2000 as well by pasting into the Normal tab of a new HTML file.