XPath 2.0

XPath is being updated to offer more support for XSLT 2.0 (see www.w3.org/TR/xpath20req). XPath 2.0 has the following goals:

  • Simplify manipulation of XML schema-typed content.

  • Simplify manipulation of string content.

  • Support related XML standards.

  • Improve ease of use.

  • Improve interoperability.

  • Improve international support.

  • Maintain backward compatibility.

  • Enable improved processor efficiency.

The following list provides an overview of the XPath 2.0 requirements. The big items on the agenda are XML schema support and support for regular expressions, which provide ways of handling string searches and manipulations. (For more on regular expressions, see www.perldoc.com/perl5.6/pod/perlre.html.) According to W3C, XPath 2.0

  • Must support the W3C ...

Get Inside XSLT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.