Is it wrong in XML to have element nodes as siblings of text nodes?

Viewed 115

Is the following "allowed" or simply bad use of XML? I cannot find restrictions on this, but it feels a bit weird.

<example>
    You can choose from
    <option>this</option>
    <option>that</option>
    <option>something else</option>
    Choose wisely.
</example>

If it is wrong, what is a nice alternative?

3 Answers
Related