hertshelp
May 9th, 2008, 02:51 PM
Hi guys, slightly confused with understanding the concept of XML.
1. As I understand it, XML is used to describe and define data, right?
Now, for a simple XML file to be displayed on a webpage, I need to use a style sheet language, such as CSS or XSL or XSLT. Now, I know what CSS is and what it can do, but how does it differ to XSL and XSLT?
XSLT can transform the document into a readable HTML/XHTML page?? But I thought only XHTML pages could integrate XML? And what is XSL without Transofmration? Just CSS?
2. Sort of what I said up there - How come in the examples here (http://www.w3schools.com/xml/xml_xsl.asp), that XML file is able to be displayed as an actual .xml file in the browser? If that is the case, what is the purpose of HTML/XHTML? Does XSLT and XML completely obsolete XHTML/HTML?
3. Where does the DTD and/or XML schema come into play in this easy demonstration?
Thanks guys, hopefully I can understand this a little easier with your help..
1. As I understand it, XML is used to describe and define data, right?
Now, for a simple XML file to be displayed on a webpage, I need to use a style sheet language, such as CSS or XSL or XSLT. Now, I know what CSS is and what it can do, but how does it differ to XSL and XSLT?
XSLT can transform the document into a readable HTML/XHTML page?? But I thought only XHTML pages could integrate XML? And what is XSL without Transofmration? Just CSS?
2. Sort of what I said up there - How come in the examples here (http://www.w3schools.com/xml/xml_xsl.asp), that XML file is able to be displayed as an actual .xml file in the browser? If that is the case, what is the purpose of HTML/XHTML? Does XSLT and XML completely obsolete XHTML/HTML?
3. Where does the DTD and/or XML schema come into play in this easy demonstration?
Thanks guys, hopefully I can understand this a little easier with your help..