Here are some technologies you should try to avoid when using XML.
What is it? An XML data island is XML data embedded into an HTML page.
Why avoid it? XML Data Islands only works with Internet Explorer browsers.
Bind the XML document to an <xml> tag in the HTML document. The id attribute defines an id
for the data island, and The source attribute points to the XML file:
This example only works in IE
The datasrc attribute of the <table> tag binds the HTML table to the XML data island.
The <span> tags allow the datafld attribute to refer to the XML element to be displayed. In
this case, "ARTIST" and "TITLE". As the XML is read, additional rows are
created for each <CD> element.
What is it? Internet Explorer 5 introduced behaviors. Behaviors are a way to add behaviors
to XML (or HTML) elements with the use of CSS styles.
Why avoid it? The behavior attribute is only supported by Internet Explorer.
The Below HTML file has a <style> element that defines a behavior for the <h1>
The XML document "behave.htc" is shown below (The file contains a
The Below HTML file has a <style> element that defines a behavior for elements
with an id of "typing":
The XML document "afilexml.htc" is shown below:
Your Query was successfully sent!