< prev index next >

src/java.xml/share/classes/javax/xml/xpath/package.html

Print this page

        

@@ -280,11 +280,10 @@
 
 <a name="XPath.Use"></a>
 <h3>5. Using the XPath API</h3>
 
 Consider the following XML document:
-<p>
 <blockquote>
 <pre>
 &lt;widgets&gt;
 &lt;widget&gt;
 &lt;manufacturer/&gt;

@@ -364,11 +363,10 @@
 <p>
 The XPath 1.0 Number data type is defined as a double. However, the XPath 
 specification also provides functions that returns Integer type. To facilitate
 such operations, the XPath API allows Integer and Long to be used in 
 {@code evaluateExpression} method such as the following code: 
-<p>
 <blockquote>
 <pre>
 int count = xpath.evaluate("count(/widgets/widget)", document, Integer.class);
 </pre>
 </blockquote>
< prev index next >