Edit online

Querying HTML Documents with XPath

Oxygen XML Author provides an XPath toolbar that makes it easy to quickly query HTML documents using XPath expressions. You can also use the dedicated XPath Builder view that allows you to compose more complex XPath expressions and execute them over HTML documents (even if they are not well-formed according to XML standards). Both the XPath toolbar and XPath Builder view offer content completion as you type to help you compose expressions.

XPath Toolbar

You can run an XPath expression over an HTML document or on an entire project. For more information about this toolbar, see XPath Toolbar.
Note: Implicit HTML elements (i.e. <html>, <body>, <tbody>) must be included in the XPath expression, even if they are missing from the HTML document.
Figure 1. XPath Toolbar for HTML