Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. What is XML and XSL?

What is XML and XSL?

Scheduled Pinned Locked Moved C#
xmlquestion
7 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NaNg15241
    wrote on last edited by
    #1

    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...

    S S M A N 5 Replies Last reply
    0
    • N NaNg15241

      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...

      S Offline
      S Offline
      Support123
      wrote on last edited by
      #2

      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...

      1 Reply Last reply
      0
      • N NaNg15241

        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...

        S Offline
        S Offline
        Saeed Rezaey
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • N NaNg15241

          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...

          M Offline
          M Offline
          MCSD Gandalf
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • N NaNg15241

            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...

            A Offline
            A Offline
            AbdulRahmanOfpk
            wrote on last edited by
            #5

            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]

            1 Reply Last reply
            0
            • N NaNg15241

              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...

              N Offline
              N Offline
              NaNg15241
              wrote on last edited by
              #6

              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

              D 1 Reply Last reply
              0
              • N NaNg15241

                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

                D Offline
                D Offline
                Dustin Metzgar
                wrote on last edited by
                #7

                Try www.w3schools.com[^], they have tutorials on XML and XSL.

                www.logifusion.com

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups