Examples of XML-based languages

Since about 1998 a range of XML-based languages have been standardised and supported by major software houses. Eventually, here you can see some XML markup and see how it can be used to do things like create 3D worlds, organise multimedia, display complex mathematics or draw graphics.

XML-based languages covered here are:

Browser compatibility

The XML technologies described on tomoakley.net have been under development from around 1998. Different browser vendors have been involved in different facets of the W3C's XML drive, and so they are not all supported by any one software vendor. Where possible, the level of browser support is noted with each language.

Note that the following browsers can be down loaded for free:

MathML

MathML is used to markup mathematical equations.

Check out some common equations written in MathML:

Browsers
Amaya and Mozilla support MathML natively.

SMIL

SMIL is used to set the timing of certain events in the document. This is particularly useful for multimedia applications, such as timing the start of a sound track to begin at the same time as some video streaming, or having one type of media follow another after a given time. SMIL can be demonstrated with text examples, but it's much more powerful when used with different kinds of media at the same time. There will be some examples on tomoakley.net soon.

Browsers
Microsoft Internet Explorer 5.5+ supports a Microsoft implementation of SMIL called TIME. Therefore you may see Microsoft's designation of HTML+TIME rather than the W3C designation XHTML+SMIL banded about in tutorials and examples. They are largely compatible languages, but Microsoft may add some extra tags as they did with the marquee and bgsound tags for HTML.

SVG

The major advantages of SVG are:

  1. SVG is part of the DOM, so scripts written in JavaScript, VBScript or other languages can act on the components in the document. An example of this could be a graphic that highlights certain areas depending on user inputs (without sending or receiving information from the server).
  2. SVG is text-based so can be searched by search engines for features such as place names on an SVG atlas map.
  3. Due to the scalable nature of vector graphics, the user can zoom in and out of the image without necessarily losing definition.

WML

WML is the Wireless Markup Language, an implementation of XML moderated by the Open Mobile Alliance. It was designed for low bandwidth, low graphics, low memory WAP browsers such as those seen on the second generation mobile telephones.



Message:

Privacy policy