Prior to starting at Altova I had zero experience with both XPath and XQuery. The first task I was presented with was to train myself on both query languages as quickly as possible and produce a concise video tutorial. It was important to develop a thorough understanding of their features and capabilities because both languages are integral to app development in MobileTogether and querying data in XMLSpy. I started with a strong background in SQL, learning XPath and XQuery by building queries first in SQL, and then determining how to replicate them in both query languages.
Though XMLSpy includes a helpful Grid View for visual editing, Text View remains the most popular pane for developers using the XML editor. Intelligent XML editing functionality helps make the job easier, and we’re continuously adding functionality to the XMLSpy Text View to facilitate this.
Let’s look at some new functionality XML developers will have at their disposal starting with Release 3 of XMLSpy 2017.
XPath and XQuery are powerful functional programming languages for selecting and querying data in desktop or mobile applications – and, in fact, XQuery was added to the TIOBE Index in early 2016.
When you’re writing XPath and XQuery statements, it’s vital to ensure your expressions return the desired results, and this can be a frustrating process of trial and error. The XPath / XQuery Debugger in XMLSpy makes it easy to test and troubleshoot your code, in the very same window where you’re developing your expressions.
Writing XPath expressions is an important skill for any developer – whether they are for an XSLT stylesheet, complex XQuery instruction, or even selecting data in a mobile application. And while XPath syntax is simple by nature, it’s also powerful, and writing and debugging the most efficient expression to select exactly the data you need can be a challenge.
This quick video demonstrates some of the tools in the XMLSpy XPath editor that make developing and testing XPath, as well as XQuery, easier. By using a point and click interface for interactive, incremental expression building, you’ll get what you need faster and with less frustration.
To learn more about XPath, check out these free resources:
XPath 3.1 adds vital new functionality, including support for arrays and maps, functions for processing JSON data, and a collection of new operators and functions.
The XPath Training course covers these in detail, explaining each new function and operator and illustrating its use with helpful examples. The course also provides sample XML files that you can download for hands-on practice as you progress through the chapters.
Access the free XPath 3.0 and 3.1 Training now!
Or check out our other free online course offerings, including XMLSpy Training, XML Schema 1.1 Training, and more.