My XML looks something like this:
<a>
<b>
<c>
<d>TEXT</d>
</c>
</b>
</a>
I know how to separate this code via the xml.Unmarshal function, but is there any way to perform the Unmarshal action only to a certain depth? For example, if I wanted to get a string that says "TEXT" and pass that into another function? I tried giving a child charset object, but it still tries to parse the rest of the XML...