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. How to Create an XML Editor application tool in C#.NET

How to Create an XML Editor application tool in C#.NET

Scheduled Pinned Locked Moved XML / XSL
csharpvisual-studioxmljsontutorial
6 Posts 3 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.
  • D Offline
    D Offline
    debobrata
    wrote on last edited by
    #1

    Hi, I want to create an XML Editor Tool in C#.NET (similar to what we currently have in Visual Studio). I want this editor tool to be integrated in my project. The intention in creating the tool is that I want to view and edit the XML in this tool itself. I should be able to directly modify the XML in this XML editor and thereby persist it back. And the changes should be reflected accordingly. It should have a collapse-Expand feature. And if possible it should also support Syntax based colours. Hence, the tool should be able to open any XML in the proper format(proper parsing check should be there) and edit them and save it back. I currently work in VS 2008 in C#. It will be really helpful if someone put the code in implementing the same and thanks in advance for any kind of suggestions. Thanks, Deb ;)

    T B 2 Replies Last reply
    0
    • D debobrata

      Hi, I want to create an XML Editor Tool in C#.NET (similar to what we currently have in Visual Studio). I want this editor tool to be integrated in my project. The intention in creating the tool is that I want to view and edit the XML in this tool itself. I should be able to directly modify the XML in this XML editor and thereby persist it back. And the changes should be reflected accordingly. It should have a collapse-Expand feature. And if possible it should also support Syntax based colours. Hence, the tool should be able to open any XML in the proper format(proper parsing check should be there) and edit them and save it back. I currently work in VS 2008 in C#. It will be really helpful if someone put the code in implementing the same and thanks in advance for any kind of suggestions. Thanks, Deb ;)

      T Offline
      T Offline
      tptshepo
      wrote on last edited by
      #2

      Hi debobrata You could use an open source text editor component called FireBall. It has features like syntax highlighting for different languages XML being one of them and it also supports collapse-expand feature. You can open any XML with file with it. As for the validation, I'm afraid you gonna have to implement that your self but the rest should be easy enough. Regards tptshepo

      D 1 Reply Last reply
      0
      • T tptshepo

        Hi debobrata You could use an open source text editor component called FireBall. It has features like syntax highlighting for different languages XML being one of them and it also supports collapse-expand feature. You can open any XML with file with it. As for the validation, I'm afraid you gonna have to implement that your self but the rest should be easy enough. Regards tptshepo

        D Offline
        D Offline
        debobrata
        wrote on last edited by
        #3

        Hi, Can you please provide me the link for the "FireBall" text editor component so that i can download the source code for the same. And whether the source code is available for download or not. I was trying googling for the same, but was not able to download the source code. Please help me in that. Atleast i need to check the editor with the source code and then i can revert you back whether it has been helpful for me or not.

        Thanks and Regards, Deb

        T 1 Reply Last reply
        0
        • D debobrata

          Hi, Can you please provide me the link for the "FireBall" text editor component so that i can download the source code for the same. And whether the source code is available for download or not. I was trying googling for the same, but was not able to download the source code. Please help me in that. Atleast i need to check the editor with the source code and then i can revert you back whether it has been helpful for me or not.

          Thanks and Regards, Deb

          T Offline
          T Offline
          tptshepo
          wrote on last edited by
          #4

          this link should get you started with the component http://www.codeproject.com/KB/miscctrl/fireballcodeeditor.aspx[^]

          1 Reply Last reply
          0
          • D debobrata

            Hi, I want to create an XML Editor Tool in C#.NET (similar to what we currently have in Visual Studio). I want this editor tool to be integrated in my project. The intention in creating the tool is that I want to view and edit the XML in this tool itself. I should be able to directly modify the XML in this XML editor and thereby persist it back. And the changes should be reflected accordingly. It should have a collapse-Expand feature. And if possible it should also support Syntax based colours. Hence, the tool should be able to open any XML in the proper format(proper parsing check should be there) and edit them and save it back. I currently work in VS 2008 in C#. It will be really helpful if someone put the code in implementing the same and thanks in advance for any kind of suggestions. Thanks, Deb ;)

            B Offline
            B Offline
            blackjack2150
            wrote on last edited by
            #5

            XML Notepad[^] (from MS) is now open source. Maybe it'll help you.

            D 1 Reply Last reply
            0
            • B blackjack2150

              XML Notepad[^] (from MS) is now open source. Maybe it'll help you.

              D Offline
              D Offline
              debobrata
              wrote on last edited by
              #6

              the source code I got for the XML Notepad from the Codeplex.com is not building. Can you please zip and send me the entire source code for the XML Notepad in my email id which is debobrata.bose@gmail.com

              Thanks and Regards, Deb

              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