O'Reilly logo

Apache Jakarta and Beyond: A Java Programmer’s Introduction by Larne Pekowsky

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Traversing Hierarchical Data with JXPath

Chapter 8 presented BeanUtils, a toolkit that offers a very Java-like syntax for traversing trees of Java objects. There is a similar but more powerful expression language that was developed to traverse XML called XPath. XPath was developed by the World Wide Web consortium and is not intrinsically tied to Java. JXPath is a Java implementation of this specification that is capable of applying the power of XPath to XML and other kinds of hierarchical data.

This chapter assumes some familiarity with XML. Readers who are not yet acquainted with XML can start with some of the suggestions for further reading listed at the end of this chapter.

Introduction to XPath

To facilitate the study of XPath it will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required