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">
<note>
<to> Rasik</to>
<from>Bapora</from>
<heading>Reminder</heading>
<body>Dont't forget me this weekend!</body>
</note>
</xml>


An an external XML file can be embedded like this:

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

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

0 comments:

Post a Comment

Blogger Themes

 
Powered by Blogger