In this section you will create a simple SVG document and use Squiggle to view it. This section presents a good opportunity to test different features of the SVG browser. You will also convert your SVG document into a JPEG file.
To start, open your favorite text or XML editor and type the code shown in Listing 1.1. Save it as first.svg into a directory of your choice, such as c:\batik\work. Alternatively, if you have downloaded the accompanying source codes for this book, you can simply copy and paste the code. You can find the code in the ch01 directory.
<?xml version="1.0"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg width="10cm" ...