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. Web Development
  3. ASP.NET
  4. How to display Xml file on web browser [modified]

How to display Xml file on web browser [modified]

Scheduled Pinned Locked Moved ASP.NET
comxmltutorial
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.
  • S Offline
    S Offline
    Sudhanshu Mani Tripathi
    wrote on last edited by
    #1

    I have an xml file with name Text.xml http://www.man.com/ram 9/30/2009 12:00:00 AM Weekly 0.69 I want to display xml file in client webbrowser without open dialog box. it means without asking download option but i am not able to do this.

    modified on Wednesday, September 30, 2009 4:56 AM

    A K 2 Replies Last reply
    0
    • S Sudhanshu Mani Tripathi

      I have an xml file with name Text.xml http://www.man.com/ram 9/30/2009 12:00:00 AM Weekly 0.69 I want to display xml file in client webbrowser without open dialog box. it means without asking download option but i am not able to do this.

      modified on Wednesday, September 30, 2009 4:56 AM

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      What you have tried till now ?

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET

      C 1 Reply Last reply
      0
      • A Abhijit Jana

        What you have tried till now ?

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        Does redirecting to an XML file really create an open file dialog ? That sounds odd to me.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        A 1 Reply Last reply
        0
        • C Christian Graus

          Does redirecting to an XML file really create an open file dialog ? That sounds odd to me.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          Christian Graus wrote:

          Does redirecting to an XML file really create an open file dialog ?

          No Boss, It will not open any Dialog control.

          Response.Redirect("XMLFile.xml");

          Simply show the XML file on page !

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET

          1 Reply Last reply
          0
          • S Sudhanshu Mani Tripathi

            I have an xml file with name Text.xml http://www.man.com/ram 9/30/2009 12:00:00 AM Weekly 0.69 I want to display xml file in client webbrowser without open dialog box. it means without asking download option but i am not able to do this.

            modified on Wednesday, September 30, 2009 4:56 AM

            K Offline
            K Offline
            Kannan Ar
            wrote on last edited by
            #5

            Do you want to display xml in a web page? XSLT is one option. Also you can open it with a dataset or the functions in System.Xml namespace then display on page with your own logic.

            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