|Extensible Markup Language (XML)|
|Overview||Rules | HTML+XML+CSS | XML+HTML | Uses ( RSS )|
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
- Cormia, R. (2011) COIN78 - XML Lesson 5: Using CSS with XML. Retrieved from http://fgamedia.org/faculty/rdcormia/COIN78/lesson05.htm
- Scalable Vector Graphics. (2010, March 20). In Wikipedia, The Free Encyclopedia. Retrieved 10:59, March 20, 2010, from http://en.wikipedia.org/w/index.php?title=Scalable_Vector_Graphics