What is CDATA Section.
Answers were Sorted based on User's Feedback
Answer / praveen
CDATA stands for character data.
To include an XML document in an XML document, CDATA
sections are used. And also to escape the angle brackets and
ampersands.
CDATA sections are delimited by ?<![CDATA[? and ?]]>?.
The XML parser ignores delimiters within the CDATA section,
except for ]]>
The following example uses a CDATA section to insert an XML
example
into an XML document.
<?xml version=?1.0??>
<example>
<![CDATA[
<?xml version=?1.0??>
<entry>
<name>yourname</name>
<email href=?mailto:name@yoursite.com?/>
</entry>]]>
</example>
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / sarankumarreddy.c
All data is normally passed in XML but if u want to exclude
some elements you will need to put those elements in CDATA.
| Is This Answer Correct ? | 5 Yes | 1 No |
Can an application process documents that use xml namespaces and documents that don’t use xml namespaces?
What are the element naming conventions in XML ?
Why namespaces are important?
How many types of xpath are there?
Is html xml subset?
What is the use of xslt <xsl: import> element?
What is Complex Element?
What is the purpose of xml namespaces?
What is xml tag library?
Can we use graphics in XML?
What is the difference between call template and apply template?
Do I need an rss feed for podcast?