<XML> | NN n/a IE 5 HTML n/a |
<XML>...</XML> | End Tag: Required |
IE 5 and later for Windows supports XML data islands, which are self-contained, unrendered blocks of XML data within an HTML page. The XML data may be delivered as part of the HTML document (embedded between the start and end tags) or loaded from an external source. Once the XML data is loaded, Microsoft's XML DOM (which in many ways resembles the Core portion of the W3C DOM) allows script access to the data for custom rendering. The W3C DOM equivalent to this functionality is via the document.implementation object. In IE, you may also use ActiveX to create an XML document for loading external XML data for script access. See Section 5.9.2. |
|
Example | |
<XML id="xmlData"> <XMLRESULTS> <!-- xml data here --> </XMLRESULTS> </XML> |
|
Object Model Reference | |
[window.]document.getElementById(elementID)
|
lang | NN 3 IE 4 HTML 4 |
lang="languageCode" | Optional |
The language being used for the element's attribute values and content. A browser can use this information to assist in proper rendering of content with respect to details such as treatment of ligatures (when supported by a particular font or required by a written language), quotation marks, and hyphenation. Other applications and search engines might use this information to aid the selection of spell-checking dictionaries and the creation of indices. |
|
Example | |
<SPAN lang="de">Deutsche Bundesbahn</SPAN> |
|
Value | |
Case-insensitive language code. |
|
Default | |
Browser default. |
|
Object Model Reference | |
[window.]document.getElementById(elementID).lang
|
src | NN n/a IE 5 HTML n/a |
src="URI" | Optional |
Points to an external source of XML data to be loaded into the element. |
|
Example | |
<XML id="xmldata" src="http://www.magacorp.com/data/2003Forecast.xml></XML> |
|
Value | |
Any valid URI whose return value contains XML data. |
|
Default | |
None. |
|
Object Model Reference | |
[window.]document.getElementById(elementID).src
|