Programming in XPath 3.0
IMS Health / Appature
While XPath is universally considered the critical intersection of XSLT and XQuery, until recently it lacked some essential capabilities of a full-pledged programming language.
Although not obvious from the W3C specifications, this paper demonstrates some of the new, crucial features of XPath 3.0 that make it a truly complete, standalone, modern XML programming language.
Among others, the benefits of host-language-independent XPath 3.0 programming include the elimination of the need for redundant “per host language” programming and the ability to specify XPath callable units with true copy and paste portability between different host languages, such as XSLT and XQuery.