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 |
Does the xml namespaces recommendation define anything except a two-part naming system for element types and attributes?
How is xsl different from css?
Where can I upload podcasts?
Explain the used of the xml prolog section.
What is mean by xsl?
Are xml tags case sensitive?
What is the full form of xml?
What is Simple Element?
Write syntax to serialize class using XML Serializer?
What is the relationship between xml namespaces and the xml 1.0 recommendation?
How are comments used in xml?
How is xsl different from cascading style sheets? Why is a new stylesheet language needed?