What is CDATA Section.

Answers were Sorted based on User's Feedback



What is CDATA Section...

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

What is CDATA Section...

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

Post New Answer

More XML XSLT RSS Interview Questions

What is GetElementbyname method will do?

1 Answers  


How do I open an xml file?

0 Answers  


What is xsl fo template?

0 Answers  


What does xsl stand for?

0 Answers  


Write a program to use the stylesheet element?

0 Answers  






Write the steps involved in the creation of a custom schema.

0 Answers  


What is the difference between CDATA and PCDATA?

0 Answers  


Is xml a web service?

0 Answers  


What is the function of xsl?

0 Answers  


What is XSLT stylesheet?

0 Answers  


Where can I listen to podcasts?

0 Answers  


How do I open an xml file on my phone?

0 Answers  


Categories