First Looks

XMLSpy 2007 3 Enterprise Ed.: Process Open XML for Word and Excel

Tools for those who need to fetch, store or transform XML, including in Word 2007 and Excel 2007.

XMLSpy 2007 Release 3 is a top-notch suite of tools for developing, editing, transforming, debugging, and manipulating anything that looks like XML. Altova's flagship product becomes harder to define with every release because it embraces every new technology and standard. If an XML-based format or application is ready for prime time, XMLSpy has it covered with templates and schemas.

The latest release lets you process the Open XML format in Word 2007 and Excel 2007 documents. The introduction of zipped archives in the Open XML specification complicates access to the embedded content. XMLSpy accommodates the structure with an Archive view. In the mini-IDE, you add, open, and delete the included documents by clicking on buttons in a horizontal command row. This interface works okay, but navigating through an archive and its associated documents feels like you're working in a project within a project. The new feature was isolated from the regular XMLSpy environment.

The built-in XSLT debugger supports regular breakpoints, but also includes a tracepoint feature that creates a visual log of specific output. This enables you to run through a huge loop and see how the data is being transformed.

Figure 1
[Click on image for larger view.]
Figure 1. Transform Office Documents. You can edit and manipulate Excel 2007 and Word 2007 documents in XMLSpy 2007 Enterprise Edition. The Excel sample shows how the software fetches XML data from inside the zip archive and transforms it into HTML.

The XMLSpy editor is a favorite of thousands of developers. We take for granted its automatic tag completion, syntax coloring, text-size zoom, and IntelliSense-like "intelligent entry helpers." The helpers keep your XML valid by watching the referenced DTD and prompting for required elements or attributes. Using the editor, you can tweak elements in source view and then flip to the graphical grid for broad tasks like moving large blocks of data.

In the old days, I fumbled over Xpath query syntax, resorting to a time-wasting, trial-and-error form of development simply to return a node's contents. Nowadays, it's a breeze to drill down to the desired content in XMLSpy's graphical view, right-click on a node, and use the Copy XPath feature to put the expression on the clipboard. To adjust the query, the excellent Evaluate Xpath feature returns dynamic results as you type and gives you a choice of XPath 1.0 or 2.0 syntax.

XMLSpy has valuable tools for those who need to fetch, store, or transform XML using most popular databases including SQL Server, Access, IBM DB2, and Oracle. Although you wouldn't think of XMLSpy as a database manager, I was surprised at how easily I could connect to SQL Server 2005, perform queries, and extract the database schema as an XSD schema.

Be sure to check the XMLSpy feature matrix before your purchase the product. Unfortunately, some new and powerful capabilities such as the ability to edit Open XML (that is, Microsoft Office 2007) data and to profile XSL transformations are available only in the Enterprise version, which costs twice as much as the Professional version.

At A Glance
XMLSpy 2007 Release 3 Enterprise Edition
Altova
Web:
www.altova.com
Phone: 978-816-1600
Price: $999
Quick Facts: Full suite of professional tools for creating, analyzing, debugging, and transforming any form of XML schema, style sheet, or data.
Pros: Top-notch code editor with graphical views; supports editing and extraction of data in Open XML Microsoft Office 2007 archives; time-saving code generators; good support for popular databases.
Cons: Skimpy documentation on new features; several desirable capabilities only available in higher cost Enterprise SKU.

About the Author

Ken Cox is a Canadian .NET programming writer and the author of "ASP.NET 3.5 for Dummies" (Wiley).

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube