XML and HTML
Html can be included in an xml file by adding
to the root element Using this technique allows us to for example display an image within an xml file.
So if we have an XML file (xmlImage.xml) as
And an associated style sheet (xmlImage.css)
If we put this into an iframe page for display (xmlImage.html)
Assuming the images are available, this would render in the web browser ...
Example :Click here to run xmlImage.htm. The diagram following shows the result in Google's chrome.
- Scalable Vector Graphics (2010): is a family of specifications of an XML-based file format for describing two-dimensional vector graphics, both static and dynamic (i.e. interactive or animated).
- RSS Feeds use XML
- New Zealand Herald. Click on the RSS button on http://www.nzherald.co.nz/nz/news/headlines.cfm?c_id=1 and it should link to an XML file http://rss.nzherald.co.nz/rss/xml/nzhrsscid_000000001.xml
<ref> tags exist, but no
<references/> tag was found