I have some xml in which a specific element, let's call it dave might either be:
<dave>A Normal Value</dave>
or
<dave><![CDATA[A CData Value!]]></dave>
When I'm parsing it I would like to be able to test whether the retrieved value is CDATA or not. How would I do this?