XML technologies / SVG / SVG and XML
(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)
Now that you know SVG’s basics, you have probably noticed some disadvantages. Browser differences matter again: one needs a plug-in, another supports SVG directly but not the <EMBED> tag. Besides a page for browsers without SVG, you would therefore need two versions for SVG-capable browsers. At first glance SVG seems even less usable than techniques such as CSS, Flash or frames.
Remembering that SVG is XML-based quickly suggests a solution: suitable XSLT files can convert XML into virtually any format. Store the web page’s data in XML and create XSLT files converting it into HTML pages with embedded SVG. Croczilla can open the XML directly; other browsers can use the HTML files.
Note:
The programming of XSLT files is complex and beyond this book’s scope. Only XML and namespace basics follow. Converting XML to SVG, VML or HTML requires further reading.
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