We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. Combining all inner strings and cdata of an XMLTag to a text string is cumbersome.
XMLTag
Describe the solution you'd like A utility function getTextContent would accept an XMLTag and return the text string of all XMLTag.innerXML.
getTextContent
XMLTag.innerXML
Describe alternatives you've considered Array.join() is not good enough to cover nested strings.
Array.join()
Additional context A similar implementation can be found for DOM's Node.textContent.
Node.textContent
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
Combining all inner strings and cdata of an
XMLTag
to a text string is cumbersome.Describe the solution you'd like
A utility function
getTextContent
would accept anXMLTag
and return the text string of allXMLTag.innerXML
.Describe alternatives you've considered
Array.join()
is not good enough to cover nested strings.Additional context
A similar implementation can be found for DOM's
Node.textContent
.The text was updated successfully, but these errors were encountered: