Vector Markup Language

From Wikipedia, the free encyclopedia

Vector Markup Language (VML) is an XML language used to produce vector graphics. VML was submitted as a proposed standard to the W3C in 1998 by Microsoft, Macromedia, and others. VML was rejected as a web standard because Adobe, Sun, and others submitted a competing proposal known as PGML[citation needed]. The two standards were joined and improved upon to create SVG.

Even though rejected as a standard by the W3C, and largely ignored by developers, Microsoft still implemented VML into Internet Explorer 5.0 and higher and in Microsoft Office 2000 and higher.

Google Maps currently uses VML for rendering vectors when running on Internet Explorer 5.5+[1].

[edit] Example

The following code displays an oval filled in red :

<v:oval style="position:absolute; left:0; top:0;
               width:100pt; height:50pt" 
               fillcolor="orange">
</v:oval>

The SVG equivalent for this code would be :

<ellipse cx="50" cy="25" rx="50" ry="25" style="fill:red;"/>

[edit] External links

Preceding:
Subsequent: Scalable Vector Graphics
In other languages