You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am fetching a bunch of xml-text from an api which I want to read and deserialize. Most of the structure is quite uniform, but one part is not. That part can look like one of the three following
<member>
<memberData>
<p>Some text here inside a p-tag</p>
</memberData>
</member>
<member>
<memberData>
Some text here not inside a p-tag
</memberData>
</member>
or
<member>
<memberData>
<p>Some text here with redundant stuff after</p>
<div>
<img />
</div>
</memberData>
<member>
I have tried to model it like this because I am only interested in the text.
I am fetching a bunch of xml-text from an api which I want to read and deserialize. Most of the structure is quite uniform, but one part is not. That part can look like one of the three following
or
I have tried to model it like this because I am only interested in the text.
Now this works for the first two cases, but for the last one i get
Is there some way of handling this?
The text was updated successfully, but these errors were encountered: