What is XML and XSL?
-
Hey, I know this is for XML\XSL forum but they don't answer there.... I'm just wondering what is the difference between those two. And what command is to read the DATA in DataSet: ds.ReadXml() or ds.ReadXmlSchema() and the same for writing...
the xml is the file where the data is stored. the xsl is the style sheet...to make the xml file's data display nicely. the xml file determines what the display type is going to be like HTML or in my Case PDF He who laughs last...
-
Hey, I know this is for XML\XSL forum but they don't answer there.... I'm just wondering what is the difference between those two. And what command is to read the DATA in DataSet: ds.ReadXml() or ds.ReadXmlSchema() and the same for writing...
Hi NaNg15241. If u want to know difference between XML XSL I can tell that XSL defines structrue of a XML file without data.On the other word XSL is similare to table difinition in database and XML is similare to a table with it's data.
-
Hey, I know this is for XML\XSL forum but they don't answer there.... I'm just wondering what is the difference between those two. And what command is to read the DATA in DataSet: ds.ReadXml() or ds.ReadXmlSchema() and the same for writing...
Wow, talk about a topic that takes up complete books...;) XML - eXtensible Markup Language is primarily a way to "markup" or present a TEXT file as data. It is important that you realize that at its core it is nothing but a text file, and therefore easily passes through firewalls. It is a VERY easy way to get DATA from one place to another, and is especially nice since it doesn't care anything about the platform it ends up on. XSL - eXtensible Stylesheet Language for Transformation (you may also see it as XSLT) is a way to manipulate the XML files. For instance you might want to present the data in a different sequence, or Transform some of the XML nodes John Smith can become John Smith Also, XSL files, are themselves XML files. That is a VERY high level explanation. As for your code lines, ds.ReadXml()reads an XML file, the ds.ReadXmlSchema() is for reading a Schema file or an XSD file that defines the structure of the XML data you will be reading. HTH WhiteWizard (aka Gandalf) -- modified at 10:10 Tuesday 30th May, 2006
-
Hey, I know this is for XML\XSL forum but they don't answer there.... I'm just wondering what is the difference between those two. And what command is to read the DATA in DataSet: ds.ReadXml() or ds.ReadXmlSchema() and the same for writing...
XML stands for Extensible Markup Lauguage. This language is used to create your own markup langauge like HTML. In other words xml is used to structure a document. A structured document can be easily written to or read from some persistent storage or to exchange to or from some remote location.
< br /> Schema is used to define rules for a document validity. If you want your xml document user how use its elements you create a DTD or SCHEMA for this purpose.
< br /> XSL stands for extensible stylesheet language. An xsl file provides information to a web browser or some other application how to interpret the xml document. This is just like CSS that instructs web browser how to interpret your document.
< br /> ReadXml() reads data from an xml file.
< br /> ReadXmlSchema() reads schema information from an xml file.
< br />Both xml and schema files have .xml extension.Abdul Rahman [Peshawar]
-
Hey, I know this is for XML\XSL forum but they don't answer there.... I'm just wondering what is the difference between those two. And what command is to read the DATA in DataSet: ds.ReadXml() or ds.ReadXmlSchema() and the same for writing...
So from all this, What stores Data ( this is all very confusing [ english is not my main language ] ) and what commands\Things do I need to do\use? XSL\XML, ReadXml or ReadXmlSchema, WriteXml or WriteXmlSchema, what do I need to do for Data? and if can any-one help me also about the topic I wrote down a few msgs (Unique ID) will help me so much more... -- modified at 10:29 Tuesday 30th May, 2006
-
So from all this, What stores Data ( this is all very confusing [ english is not my main language ] ) and what commands\Things do I need to do\use? XSL\XML, ReadXml or ReadXmlSchema, WriteXml or WriteXmlSchema, what do I need to do for Data? and if can any-one help me also about the topic I wrote down a few msgs (Unique ID) will help me so much more... -- modified at 10:29 Tuesday 30th May, 2006
Try www.w3schools.com[^], they have tutorials on XML and XSL.