O'Reilly logo

Oracle Database 11g: Building Oracle XML DB Applications by Jinyu Wang

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

Extracting XPath from XML Documents

In previous sections, we discussed using XPath to navigate and access XML content. In this section, we will discuss how to extract XPaths from an XML document. We will extract XPaths using SAX parsing to improve the processing’s scalability. There are several key components in this process:

Image  Creating a stack to keep track of the XPath

Image  Using SAX to push the XPath elements to the stack and record the XPaths

Image

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