Skip to content

Commit 0d1f04a

Browse files
committed
Javadoc update to add @SInCE 1.14.3
1 parent 89de796 commit 0d1f04a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main/java/org/jsoup/nodes/Element.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,19 +509,20 @@ public boolean is(Evaluator evaluator) {
509509

510510
/**
511511
<b>Beta:</b> find Elements that match the supplied XPath expression.
512-
<p>(This functionality is currently in beta and
513-
is subject to change. Feedback on the API is requested and welcomed!)</p>
512+
<p>(This functionality is currently in beta and is subject to change. Feedback on the API is requested and
513+
welcomed!)</p>
514514
<p>By default, XPath 1.0 expressions are supported. If you would to use XPath 2.0 or higher, you can provide an
515515
alternate XPathFactory implementation:</p>
516516
<ol>
517-
<li>Add the implementation to your classpath. E.g. to use <a href="https://www.saxonica.com/products/products.xml">Saxon-HE</a>, add <a href="https://mvnrepository.com/artifact/net.sf.saxon/Saxon-HE">net.sf.saxon:Saxon-HE</a> to your build.</li>
517+
<li>Add the implementation to your classpath. E.g. to use <a href="https://www.saxonica.com/products/products.xml">Saxon-HE</a>, add <a href="https://mvnrepository.com/artifact/net.sf.saxon/Saxon-HE">net.sf.saxon:Saxon-HE</a> to your build.</li>
518518
<li>Set the system property <code>javax.xml.xpath.XPathFactory:jsoup</code> to the implementing classname. E.g.:<br>
519-
<code>System.setProperty(W3CDom.XPathFactoryProperty, "net.sf.saxon.xpath.XPathFactoryImpl");</code>
519+
<code>System.setProperty(W3CDom.XPathFactoryProperty, "net.sf.saxon.xpath.XPathFactoryImpl");</code>
520520
</li>
521521
</ol>
522522
523523
@param xpath XPath expression
524524
@return matching elements, or an empty list if none match.
525+
@since 1.14.3.
525526
*/
526527
public Elements selectXpath(String xpath) {
527528
return new Elements(NodeUtils.selectXpath(xpath, this, Element.class));

0 commit comments

Comments
 (0)