Change Language


Follow Navioo On Twitter

xml

Defines an area of embedded XML data.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
5.0+ no no no no

Example

Embedded XML example

This example shows an XML element embedded in an HTML document:

 
<xml id="dogs">
	 <dogs>
	 	<dog id="jordo">
			<name>Jordo</name>
	 		<breed>Golden Retriever</breed>
			<weight units="lbs">100</weight>
	 	</dog>
		<dog id="lucky">
			<name>Lucky</name>
	 		<breed>Labrador Retriever</breed>
			<weight units="lbs">85</weight>
	 	</dog>
		<dog id="bella">
			<name>Bella</name>
	 		<breed>Pug</breed>
			<weight units="lbs">18</weight>
	 	</dog>
	 </dog>
</xml>  

External XML file example

This example shows a link to an external XML file:

 <xml src="dogs.xml"> </xml>  

Remarks

You can either embed an XML element in your HTML document or link to a source XML document.

Attribute Detail

Attribute IE Netscape Mozilla Opera Safari
id
[element-id]
Unique identifier for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
src
[url]
URL for the source for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 

Event Detail

Event IE Netscape Mozilla Opera Safari
Fires when data becomes available from an asyncrhonous data source.
4.0+ no no no no
 
Fires when data in a dataset changes.
4.0+ no no no no
 
Fires when a dataset finishes loading.
4.0+ no no no no
 
Fires when the ready state of the element changes.
4.0+ no no no no
 
Fires if the data values for the row change in the datasource.
4.0+ no no no no
 
Fires immediately before the data values for the row change in the datasource.
4.0+ no no no no
 
Fires immediately before rows are deleted from the dataset.
4.0+ no no no no
 
Fires immediately after rows are inserted into the dataset.
4.0+ no no no no
 

Ajax Javascript feed

↑ Grab this Headline Animator