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 / C++ / MFC
  4. Reading XML

Reading XML

Scheduled Pinned Locked Moved C / C++ / MFC
csharphtmlvisual-studioxmlhelp
5 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.
  • M Offline
    M Offline
    mmagill0
    wrote on last edited by
    #1

    I have made my own XML format which looks a bit like HTML, but I need a browser to read it. The built in browser windows in Visual studio can't read it, so I need to make a simple XML reader that displays the XML like HTML. Is there any very simple open source project I could edit, or is there a simple way to make an XML reader from scratch? Help would be appreciated

    L C M M 4 Replies Last reply
    0
    • M mmagill0

      I have made my own XML format which looks a bit like HTML, but I need a browser to read it. The built in browser windows in Visual studio can't read it, so I need to make a simple XML reader that displays the XML like HTML. Is there any very simple open source project I could edit, or is there a simple way to make an XML reader from scratch? Help would be appreciated

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You can use the Microsoft MSXML[^] tools, or try a Google search for open source alternatives.

      It's time for a new signature.

      1 Reply Last reply
      0
      • M mmagill0

        I have made my own XML format which looks a bit like HTML, but I need a browser to read it. The built in browser windows in Visual studio can't read it, so I need to make a simple XML reader that displays the XML like HTML. Is there any very simple open source project I could edit, or is there a simple way to make an XML reader from scratch? Help would be appreciated

        C Offline
        C Offline
        Cool_Dev
        wrote on last edited by
        #3

        what do you mean by your own xml format? Xml tags are not predefined by any standards instead are by the author of the document. But html tags are predefined so that browsers can intrepret them. If you want to transform your xml into html, best option is to use XSLT. MsXml library has built in support for XSL transformation. http://www.codeguru.com/cpp/data/data-misc/xml/article.php/c4565[^] http://msdn.microsoft.com/en-us/library/ms759204(v=VS.85).aspx[^]

        1 Reply Last reply
        0
        • M mmagill0

          I have made my own XML format which looks a bit like HTML, but I need a browser to read it. The built in browser windows in Visual studio can't read it, so I need to make a simple XML reader that displays the XML like HTML. Is there any very simple open source project I could edit, or is there a simple way to make an XML reader from scratch? Help would be appreciated

          M Offline
          M Offline
          Maximilien
          wrote on last edited by
          #4

          if it follows XML standards, then most (all?) broswer will be able to read it; it might not be able to understand the tags and their meanings (how to display them), see : http://msdn.microsoft.com/en-us/library/ms754529(VS.85).aspx[^] You will need to create some sort of stylesheet to help display your XML files.

          Watched code never compiles.

          1 Reply Last reply
          0
          • M mmagill0

            I have made my own XML format which looks a bit like HTML, but I need a browser to read it. The built in browser windows in Visual studio can't read it, so I need to make a simple XML reader that displays the XML like HTML. Is there any very simple open source project I could edit, or is there a simple way to make an XML reader from scratch? Help would be appreciated

            M Offline
            M Offline
            mmagill0
            wrote on last edited by
            #5

            I will give you a simple example of what I'm trying to do: Text in here will be displayed as normal, but text in here will have a new formatting Is there a way to make a "browser" that reads this kind of markup instead of HTML?

            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