jsoup icon indicating copy to clipboard operation
jsoup copied to clipboard

Add Node#noteType() and constants?

Open furstenheim opened this issue 5 years ago • 2 comments

Hi, Very nice library. It seems that there is no way to get NodeType in the API. https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType Thanks.

furstenheim avatar May 15 '20 09:05 furstenheim

We could potentially add it. There is nodeName which returns a unique string. Generally I've just used the class instanceOf.

https://jsoup.org/apidocs/org/jsoup/nodes/Node.html#nodeName()

jhy avatar Dec 16 '20 00:12 jhy

I'm interested in working on this issue.

windsliver avatar May 23 '22 10:05 windsliver