|Generated: Monday, November 14, 2011, 09:22:58||Copyright © 2011 , Kurt Nørmark|
The examples in this directory illustrates the SVG1.1 mirror in LAML. The examples are identical to our earlier SVG1.0 examples.
The SVG1.1 mirror is based on XML-in-LAML. This means that the mirror is produced from the SVG1.1 DTD, which derives a SVG dependent Scheme file with the mirror functions of the SVG elements. It also means that the mirror depends on a generic XML-in-LAML library. The SVG1.1 library do carry out full validation, like all other XML-in-LAML languages.
In order to see the SVG files generated by the mirror, you must have an SVG plugin, such as Adobe's SVG Viewer.
As of now the examples are rather primitive and premature. We expect to come up with more interesting examples, which illustrate the power of mixing Scheme and SVG, at a later point in time.
The following simple examples exist in this directory:
The first example was produced by parsing an svg file with the LAML procedure xml-parse. Next we procedure parse-tree-to-laml to make a LAML document. This may seem a little weird: We go from SVG over LAML to produce SVG again. Of course, the intension is to gain some flexibility by being able to use Scheme side by side with SVG. Future examples will illustrate this.
See also the examples of the SVG extension library, and the LENO example that uses SVG.
If your browser will not present files with 'laml' or 'scm' extensions you should disable any special handling of these extensions on your system. In that way they are treated as pure text files.
Generated: Monday, November 14, 2011, 09:22:58