Jump to content

Vector Markup Language: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Reverted edits by 213.244.14.206 to last revision by CPKS (HG)
Undid revision 276484550 by OverlordQ (talk)
Line 68: Line 68:
* [[Scalable Vector Graphics]]
* [[Scalable Vector Graphics]]
* [[Office Open XML]]
* [[Office Open XML]]
* [[Open Office XML]]


==External links==
==External links==

Revision as of 10:06, 11 March 2009

Vector Markup Language
Filename extension
.vml
Internet media typeapplication/vnd.openxmlformats-officedocument.vmlDrawing
Developed byMicrosoft
Type of formatVector image format
Extended fromXML
StandardPart of ECMA-376 and ISO/IEC 29500:2008
WebsiteECMA-376,
ISO/IEC 29500:2008

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. Around the same time other competing W3C submissions were received in the area of web vector graphics, such as PGML from Adobe, Sun, and others.[1]

As a result of these submissions, a new W3C working group was created, which produced SVG.

Even though 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+, and SVG on other browsers.[2]

The Vector Markup Language is specified in Part 4 of the Office Open XML standards ISO/IEC 29500:2008 and ECMA-376.[3][4]

Example

How this example would look in a capable viewer

The following code displays an oval filled in blue:

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

The approximate SVG equivalent for this code would be:

<ellipse cx="50" cy="25" rx="50" ry="25" fill="blue"/>

Software

VML is used by most Microsoft Office applications, such as Microsoft Word, Microsoft Visio, etc., to create online files, while using the Save As HTML option (plain HTML or MHT, Microsoft HyperText Single File Format). Such files retain complete vector information, and can be reopened for editing using applications, such as Microsoft PowerPoint. VML is natively supported by Microsoft's Internet Explorer within inline HTML, compared to SVG that is natively supported by Mozilla Firefox, Opera, and Safari inline only in XHTML mode.[5]

Several online utilities also use VML as the primary language of choice for storing vector information in HTML.[citation needed]

References

  1. ^ PGML
  2. ^ Google Maps
  3. ^ http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51462
  4. ^ Ecma International TC45 (2006-12). "Standard ECMA-376 Office Open XML File Formats". Ecma International. Retrieved 2007-04-04. {{cite web}}: Check date values in: |date= (help)CS1 maint: numeric names: authors list (link)
  5. ^ SVG In HTML Introduction - MDC

See also