xml

Defines an area of embedded XML data.

Platform Support

IENetscapeMozillaOperaSafari
5.0+nononono

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

AttributeIENetscapeMozillaOperaSafari
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

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

text_html aptana_docs