jsoup
jsoup copied to clipboard
Add Node#noteType() and constants?
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.
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()
I'm interested in working on this issue.