1

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>&lt;![CDATA[ Hello .... Thanks. ]]&gt;</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 &lt; and &gt; instead of < and >

thanks.

1 Answer 1

2

It is not CDATA. It is text.

&lt; means "A less that character". < means "Start of a tag/directive/etc"

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.