Answer Posted / 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 |
Post New Answer View All Answers
How do I convert an xml file to excel?
Why xslt is used?
If I start using xml namespaces, do I need to change my existing dtds?
How to tell web browsers that your web pages have atom feeds?
Define complex element?
What is xml document system?
How are comments used in xml?
Explain about the techniques for processing xml files?
Can multiple xml namespace declarations be in scope at the same time?
What is difference between xml and xslt?
What is XML encoding error?
What is DiffGram in XML?
Why would you use xml?
What is the use of stylesheet in xsl?
How dtd is different from xml?