locked
Can anyone recommend a good free XML editor RRS feed

  • Question

  • I'm looking for a free, lightweight XML editor that I can redistribute freely, or at minimum point other people to download.  Something like oXygen or XMLSpy is way too expensive for what these people would need.  The features I'm looking for:

    -Validation on the fly (or at least on save) with detailed errors
    -Intellisense for enumerated values, node names, etc
    -Access to the XML source with syntax highlighting

    Essentially, I'd like the Visual Studio XML editor rolled into a standalone application.  XMLNotepad is very close to what I want, but it looks like the only way you're able to view source in it is by using notepad (and building new nodes in XMLNotepad is a little slow/clumsy).  I'm also not really interested in a full IDE install for these users-a single executable would be ideal.  Anyone know of an app that'll fit the bill? 
    Friday, May 30, 2008 4:38 PM

Answers

  • XML Notepad 2007 provides a simple intuitive user interface for browsing and editing XML documents. It can be downloaded from: http://www.microsoft.com/downloads/details.aspx?familyid=72d6aa49-787d-4118-ba5f-4f30fe913628&displaylang=en

     

    Here are some features:

  • Tree View synchronized with Node Text View for quick editing of node names and values.
  • Incremental search (Ctrl+I) in both tree and text views, so as you type it navigates to matching nodes.
  • Cut/copy/paste with full namespace support.
  • Drag/drop support for easy manipulation of the tree, even across different instances of XML Notepad and from the file system.
  • Infinite undo/redo for all edit operations.
  • In place popup multi-line editing of large text node values.
  • Configurable fonts and colors via the options dialog.
  • Full find/replace dialog with support for regex and XPath.
  • Good performance on large XML documents, loading a 3mb document in about one second.
  • Instant XML schema validation while you edit with errors and warnings shown in the task list window.
  • Intellisense based on expected elements and attributes and enumerated simple type values.
  • Support for custom editors for date, dateTime and time datatypes and other types like color.
  • Handy nudge tool bar buttons for quick movement of nodes up and down the tree.
  • Inplace HTML viewer for processing xml-stylesheet processing instructions.
  • Built-in XML Diff tool.
  • Support for XInclude
  • Dynamic help from XSD annotations.
  • Goto definition to navigate includes and XSD schema information.

     

     

    Hope this helps

    Irinel

Friday, May 30, 2008 5:43 PM
Moderator

All replies

  • XML Notepad 2007 provides a simple intuitive user interface for browsing and editing XML documents. It can be downloaded from: http://www.microsoft.com/downloads/details.aspx?familyid=72d6aa49-787d-4118-ba5f-4f30fe913628&displaylang=en

     

    Here are some features:

  • Tree View synchronized with Node Text View for quick editing of node names and values.
  • Incremental search (Ctrl+I) in both tree and text views, so as you type it navigates to matching nodes.
  • Cut/copy/paste with full namespace support.
  • Drag/drop support for easy manipulation of the tree, even across different instances of XML Notepad and from the file system.
  • Infinite undo/redo for all edit operations.
  • In place popup multi-line editing of large text node values.
  • Configurable fonts and colors via the options dialog.
  • Full find/replace dialog with support for regex and XPath.
  • Good performance on large XML documents, loading a 3mb document in about one second.
  • Instant XML schema validation while you edit with errors and warnings shown in the task list window.
  • Intellisense based on expected elements and attributes and enumerated simple type values.
  • Support for custom editors for date, dateTime and time datatypes and other types like color.
  • Handy nudge tool bar buttons for quick movement of nodes up and down the tree.
  • Inplace HTML viewer for processing xml-stylesheet processing instructions.
  • Built-in XML Diff tool.
  • Support for XInclude
  • Dynamic help from XSD annotations.
  • Goto definition to navigate includes and XSD schema information.

     

     

    Hope this helps

    Irinel

Friday, May 30, 2008 5:43 PM
Moderator
  • Is there a way to view/edit the actual source in XMLNotepad other than popping up the notepad editor?  As I said in the original post, I like the treeview, but adding new nodes/attributes is much slower than directly editing the markup with intellisense (like in Visual Studio).
    Friday, May 30, 2008 6:26 PM
  • This may be obvious but why not use Microsoft's own Visual Studio Express as an excellent free XML editor? - I'm using the C# 2005 version currently but the 2008 version should still have this XML support. Are you considering this?

     

    If XSD schema or DTD declarations are included in your XML you will also get full intellisense for valid elements and addributes, and squiggly lines under elements that aren't valid.

     

    If you want to augment Visual Studio Express XML features by using another tool as well - perhaps for more detailed validation reporting or for XPath evaluation, the external tools menu can be used to launch another application with command line arguments that can contain the details of the file currently open in VS.

     

    I use this technique to integrate Visual Studio with my own .NET XML tool, SketchPath which is a development tool for XPath and includes an XSD validator with detailed XSD validation error reporting.

    Friday, May 30, 2008 9:15 PM
  • Phil, that's actually a good idea, but I was looking for something that was a little more lightweight than a full VS express solution.  Ideally I'd be able to distribute something as a single executable, but if that's not possible then I'd rather have something with a small install footprint.  I'll keep VS express in mind though-I'd forgotten that it even existed.
    Monday, June 2, 2008 11:29 AM