SVG and XML formats

Two formats of documents are the base of websites. HTML, a standard in version 4 for now and XML for web pages with XHTML, or various documents such as SVG, RSS or graphical interface languages as XAML.


SVG is both a format for storage and display of vector images. In fact an SVG file is displayed directly in a browser. It is slower than the Canvas API, but can be combined with other elements of an HTML page and as we shall see, can also animate...

What can we do with SVG?
Examples of applications showing the range of possibilities of this format.

comparison svg canvas what format to choose

SVG vs Canvas, at decision time
What format to choose to embed graphics into a webpage?

Canvas for SVG: programmed drawing surface
First step: Making a landscape by program from SVG components taken in a library.

SVG: Creating beautiful titles with the text tag
We will see how to create filters, including lighting effet and apply it to a text, and all text attributes in SVG.

XML formats

Description of the format for ebooks.

See also the RSS and XAML section.

XML scripts

XML Configurator
An interface to XML or .INI files. Allows to configure PHP.

Add Attribute
Add automatically an attribute to a list of tags into an XML file, with or without values.

Source codes (Scriptol language)

XCheck (Executable).
This command line tool checks XML files for well-formed syntax. This is not an XML validator.
The source code is included in the Scriptol Library.

See also:

HTML Scripts.