XPath 2.0 Programmer's Reference (Programmer to Programmer)
From its origins as a sublanguage of XSLT, XPath has come into its own as a key element of XML. XPath 2.0 has emerged as a robust language twice the size of its predecessor, complex and capable of standing on its own.This substantive volume, by the editor of the W3C® XSLT 2.0 specification, is the authoritative reference on XPath 2.0. It begins by thoroughly explaining the foundations, including XML schema and the evaluation context. Building on this knowledge, it then moves through literals and function calls, basic operators, path expressions, types, and the regular expressions of three new functions that greatly boost the power of XPath 2.0.What you will learn from this bookTop-level constructs and the lexical rules for using whitespace and commentsBasic operators for writing arithmetic and Boolean expressionsThree operators for combining the results of path expressions: union, intersect, and exceptHow XPath 2.0 supports sequencesWhere to access a complete listing of all functions in the core function libraryHow to define the syntax of XPath regular expressions as used in the new functions matches(), replace(), and tokenize(), and much moreWho this book is forThis book is for experienced programmers who use XPath 2.0 and want a comprehensive understanding of it at every level. A basic knowledge of XML and Web architecture is essential.Wrox Programmer’s References are designed to give the experienced developer straight facts on a new technology, without hype or unnecessary explanations. They deliver hard information with plenty of practical examples to help you apply new tools to your development projects today.