Reputation: 13
My javascript application interfaces with another and obtains some XML which contains CDATA. Normally when dealing with CDATA I am aware it should look something similar to this:
However I am currently receiving this inside the XML:
<text><![CDATA[ Hello .... Thanks. ]]></text>
currently this does not work and it cannot tell if it is CDATA or not.
basically my question is can you start and end CDATA tags with < and > instead of < and >
thanks.
Upvotes: 1
Views: 846
Reputation: 944150
It is not CDATA. It is text.
<
means "A less that character". <
means "Start of a tag/directive/etc"
Upvotes: 2