Skip to content

How to extract some specific elements? #121

Answered by renggli
thechinkysight asked this question in Q&A
Discussion options

You must be logged in to vote

This is not a valid XML document, but you can parse it as a fragment (i.e. XmlDocumentFragment.parse(input)) and use the traversal/querying methods as described in the tutorial.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by renggli
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #95 on December 29, 2021 11:10.