nextContent

open fun nextContent(): Any

Get the next XML outer token, trimming whitespace. There are two kinds of tokens: the

'<' 
character which begins a markup tag, and the content text between markup tags.

Return

A string, or a

'<' 
Character, or null if there is no more source text.

Throws

if a called function has an error