Microsoft freeware utility eases XML hassles

There's probably not another standardized data format in use now that's more important—and, frankly, more ornery—than XML.

But as great as XML is in theory, dealing with it often turns out to be a dismal experience. XML may

Requires Free Membership to View

be a plaintext format at heart, but navigating the sea of markup elements that make up your average XML document is about as straightforward as reading a Japanese dictionary backwards. The best way to deal with XML is with a third-party editor designed to handle it.

To that end, Microsoft has released a freeware utility (no WGA validation required) called XML Notepad 2007 (version 2.1). This small application (a mere 1.6MB download) puts a robust set of editing and navigational tools at your disposal for dealing with XML files. It's not just a text editor with a bunch of XML-markup highlighting routines tacked onto it. The program requires the .NET Framework 2.0 to run, but has been certified to work properly on Windows Vista as well.

Load an XML file into XML Notepad and you're presented with two possible views: a hierarchical tree view, in which every node of the XML document is exposed, and an XSL Output view, where the document can be formatted through the use of an external XSL file. The program comes with a bunch of sample XML documents and XSL templates; one of the best is an XML-marked, XSL-formatted copy of Hamlet.

When you edit a document in the tree view, right-clicking on any element gives you a list of things you can insert above or below the element in question—a whole new element, attribute, text, comment, CDATA or PI (processing instruction) item. Select the element in the tree view and any of its children will be visible in the right-hand pane. You can also right-click to expand or collapse any portion of the document tree. All elements are validated against the schema and any warnings are displayed in a separate window at the bottom of the document.

Other features include XML Diff (for comparing two XML documents for changes), Intellisense support for commonly used items, and find/replace functions that support regular expressions and the XML XPath standard for document navigation.

About the author: Serdar Yegulalp is editor of the  Windows Power Users Newsletter, which is devoted to hints, tips, tricks, news and goodies for Windows NT, Windows 2000 and Windows XP users and administrators. He has more than 10 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.

More information on this topic:





This was first published in January 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.