August 6, 2009

0 XML Embedded in HTML

Xml in Data Islands.

With Internet Explorer, XML can be embedded into HTML pages in Data Islands.

XML Embedded in HTML

The unofficial <xml> tag is used to embed XML data within HTML.

XML data can be embedded directly into an HML page like this:

<xml id="note">
<to> Rasik</to>
<body>Dont't forget me this weekend!</body>

An an external XML file can be embedded like this:

<xml id="note" src="note.xml">

Note: The <xml> tag is an HTML element, not an XML element.


Post a Comment

Blogger Themes

Powered by Blogger