XMP object (Object/HTML)

A deprecated object that has been replaced by the PRE object.


JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.0
Netscape - 2.0
JavaScript syntax:IEmyXMP = myDocument.all.anElementID
IEmyXMP = myDocument.all.tags("XMP")[anIndex]
IEmyXMP = myDocument.all[aName]
-myXMP = myDocument.getElementById(anElementID)
-myXMP = myDocument.getElementsByName(aName)[anIndex]
-myXMP = myDocument.getElementsByTagName("XMP")[anIndex]
HTML syntax:<XMP>
Argument list:anIndexA reference to an element in a collection
aNameAn associative array reference
anElementIDThe ID value of an Element object

Refer to:

PRE object