I have some xml in which a specific element, let it be called dave, can be:
<dave>A Normal Value</dave>
or
<dave><![CDATA[A CData Value!]]></dave>
When I parse it, I would like to check if the resulting value is CDATA or not. How should I do it?
source
share