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. XML / XSL
  4. Display XML to HTML via XSD

Display XML to HTML via XSD

Scheduled Pinned Locked Moved XML / XSL
xmlhtmlquestion
6 Posts 4 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.
  • A Offline
    A Offline
    Andy H
    wrote on last edited by
    #1

    I have a complex XML document and the associated XSD document. But I don't have a XSL document. I want to display the XML in a HTML viewer. Is there any way to create a XSL from the XSD and XML or do you have no option but to create the XSL file to display how you want?

    L G 2 Replies Last reply
    0
    • A Andy H

      I have a complex XML document and the associated XSD document. But I don't have a XSL document. I want to display the XML in a HTML viewer. Is there any way to create a XSL from the XSD and XML or do you have no option but to create the XSL file to display how you want?

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Andy H wrote:

      I want to display the XML in a HTML viewer.

      What does that mean? If you open an XML file in Firefox or Internet Explorer they will display them for you.

      led mike

      1 Reply Last reply
      0
      • A Andy H

        I have a complex XML document and the associated XSD document. But I don't have a XSL document. I want to display the XML in a HTML viewer. Is there any way to create a XSL from the XSD and XML or do you have no option but to create the XSL file to display how you want?

        G Offline
        G Offline
        George L Jackson
        wrote on last edited by
        #3

        In addition to what Mr. led mike said, it may be possible to create XSLT from the XML document's XSD but it won't be worth the effort. To create a HTML document that meet your needs, you must create the XSLT manually or settle with the default XSLT in IE and Firefox.

        "We make a living by what we get, we make a life by what we give." --Winston Churchill

        L 1 Reply Last reply
        0
        • G George L Jackson

          In addition to what Mr. led mike said, it may be possible to create XSLT from the XML document's XSD but it won't be worth the effort. To create a HTML document that meet your needs, you must create the XSLT manually or settle with the default XSLT in IE and Firefox.

          "We make a living by what we get, we make a life by what we give." --Winston Churchill

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          George L. Jackson wrote:

          or settle with the default XSLT in IE and Firefox.

          You can get the XSLT from IE. actually it's in the MSXML3.dll I think.

          led mike

          S G 2 Replies Last reply
          0
          • L led mike

            George L. Jackson wrote:

            or settle with the default XSLT in IE and Firefox.

            You can get the XSLT from IE. actually it's in the MSXML3.dll I think.

            led mike

            S Offline
            S Offline
            Sathesh Sakthivel
            wrote on last edited by
            #5

            led mike wrote:

            You can get the XSLT from IE. actually it's in the MSXML3.dll I think.

            Well Said led Mike.

            Regards, Satips.

            1 Reply Last reply
            0
            • L led mike

              George L. Jackson wrote:

              or settle with the default XSLT in IE and Firefox.

              You can get the XSLT from IE. actually it's in the MSXML3.dll I think.

              led mike

              G Offline
              G Offline
              George L Jackson
              wrote on last edited by
              #6

              :-O Thanks Mike! I messed up. It is a resource of MSXML3.DLL and you can view IE's default XSLT via this URN: res://msxml.dll/DEFAULTSS.xsl.

              "We make a living by what we get, we make a life by what we give." --Winston Churchill

              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