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.
SVG vs Canvas, at decision time
What format to choose to embed graphics into a webpage?
Description of the format for ebooks.
See also the RSS and XAML section.
An interface to XML or .INI files. Allows to configure PHP.
Add automatically an attribute to a list of tags into an XML file, with or without values.
Source codes (Scriptol language)
- Ini To XML
Convert ini files with titles and entries, with the format attribute=value, to XML files.
Converts a file of options to XML.
- Dir To XML
Build recursively an XML file or a HTML page from a disk directory. Sub-directories and files are sub-elements and elements of the xml document.
- Ini To DOM
Load an ini file into the scriptol dom tree. Requires Scriptol 4.4.
Converts an XML document to light XML, or conversely.
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.