< prev index next >
src/java.xml/share/classes/javax/xml/xpath/package-info.java
Print this page
*** 146,186 ****
*
* <table class="striped">
* <caption>Examples of Location Path</caption>
* <thead>
* <tr>
! * <th>Location Path</th>
! * <th>Description</th>
* </tr>
* </thead>
* <tbody>
* <tr>
! * <td>
* <code>/foo/bar/<strong>@id</strong></code>
! * </td>
* <td>
* Selects the attribute <code>id</code> of the <code><bar></code> element
* </td>
* </tr>
* <tr>
! * <td><code>/foo/bar/<strong>text()</strong></code>
! * </td>
* <td>
* Selects the text nodes of the <code><bar></code> element. No
* distinction is made between escaped and non-escaped character data.
* </td>
* </tr>
* <tr>
! * <td><code>/foo/bar/<strong>comment()</strong></code>
! * </td>
* <td>
* Selects all comment nodes contained in the <code><bar></code> element.
* </td>
* </tr>
* <tr>
! * <td><code>/foo/bar/<strong>processing-instruction()</strong></code>
! * </td>
* <td>
* Selects all processing-instruction nodes contained in the
* <code><bar></code> element.
* </td>
* </tr>
--- 146,186 ----
*
* <table class="striped">
* <caption>Examples of Location Path</caption>
* <thead>
* <tr>
! * <th scope="col">Location Path</th>
! * <th scope="col">Description</th>
* </tr>
* </thead>
* <tbody>
* <tr>
! * <th scope="row">
* <code>/foo/bar/<strong>@id</strong></code>
! * </th>
* <td>
* Selects the attribute <code>id</code> of the <code><bar></code> element
* </td>
* </tr>
* <tr>
! * <th scope="row"><code>/foo/bar/<strong>text()</strong></code>
! * </th>
* <td>
* Selects the text nodes of the <code><bar></code> element. No
* distinction is made between escaped and non-escaped character data.
* </td>
* </tr>
* <tr>
! * <th scope="row"><code>/foo/bar/<strong>comment()</strong></code>
! * </th>
* <td>
* Selects all comment nodes contained in the <code><bar></code> element.
* </td>
* </tr>
* <tr>
! * <th scope="row"><code>/foo/bar/<strong>processing-instruction()</strong></code>
! * </th>
* <td>
* Selects all processing-instruction nodes contained in the
* <code><bar></code> element.
* </td>
* </tr>
< prev index next >