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 |
What is the use of xslt <xsl: key> element?
Can xml files be viewed in browsers?
Why are special attributes used to declare xml namespaces?
Whats does dtd mean?
Can we use xml as database?
Do you feel that you are a good XSLT programmer?
what is the relationship between XML and Java technology?
How do you use tags in indesign?
What is an xml namespace?
What is xsl fo documents? Explain xsl-fo documents structure?
Give a few examples of types of applications that can benefit from using XML.
What are the components of an xml file?