It can split and compare XML and XSD files and split and compare huge XML files into fragments. Its key features include novel data visualization techniques, pleasant XML processing and display, and multiplatform compatibility. QXmlEdit is a straightforward XML editor built on the Qt framework. Without further ado, let’s explore these best XML viewers and editors.
Here is a list of some free XML Viewer software for Windows. After you’ve finished editing, save the original XML file with all of your changes. These viewers include various options for editing content, including add elements, add nodes, delete nodes, modify values, and more.
5 Best Free XML Viewer Software for Windowsĥ Best Free XML Viewer Software for Windows.This is the first revision of the article. The control takes a " " object as the XML content. This article introduced a formatted XML document viewer WPF control. Each node in the XML document can be expanded and collapsed independently and the content of the XML is properly colored.
I included this " Web.config" file in the zip file coming with this article, but you can test with any valid XML files that you have in this application. The above picture shows how the control displays a " Web.config" file for a web application. Browse an XML file, the application will display the XML file in a nice format. Set the " DemoApplication" project as the "Startup" project, you can debug launch the demo application. If we want to clear the XML display from the user control, we can simply assign " null" to the " xmlDocument" property. After the " XMLDodument" object is loaded, it is assigned to the " xmlDocument" property of the user control. To demonstrate how the user control is used, what this WPF application does is to first let the user browse an XML file and load the XML file into a " " object. Private void ClearXmlFile( object sender, RoutedEventArgs e) MessageBox.Show( " The XML file is invalid") Private void BrowseXmlFile( object sender, RoutedEventArgs e) / public partial class XMLViewerDemoApplication : Window / /// Interaction logic for Window1.xaml The code-behind file for " XMLViewerDemoApplication.xaml" is the following:
The code-behind file for " Viewer.xaml" is the following:
The XML document viewer control is implemented in " Viewer.xaml":Ĭopy Code Text The " XMLViewer" project is a class library to create the XML document viewer control, and the " DemoApplication" project is a WPF application to demonstrate how the control is used. The Visual Studio Solution " XMLViewerDomo" has two. Overview of the Simple Visual Studio Solution The Visual Studio Solution is developed in Visual Studio 2008. One is the user control class library and the other is a simple WPF application to demonstrate how the control is used. The demo Visual Studio Solution that comes with this article has two. What I did is simply make the idea into an easier to use user control, and provide a demo application to show how the control is used. The XML document viewer control introduced in this article is inspired by Marco Zhou's blog. I need an XML document viewer control that displays the XML content in a formatted way, and I will need the control to take the XML content from a " " object, so I can dynamically generate the XML content and display it. I will then need some other alternatives. But when I try to navigate the " WebBrowser" control to an in-memory XML string, the control fails to recognize that the content is XML and the display format is completely wrong. When I navigate the " WebBrowser" control to an XML file on the hard drive or some XML content on the web, it is displayed fine. My first option was to use the WPF " WebBrowser" control. In one of my recent WPF projects, I needed to display some XML documents in a formatted way similar to how Internet Explorer displays them. This article introduces a simple XML document viewer control for WPF applications to display XML documents in a nicely formatted way.