adspace


What is CDATA Section.

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


Please Help Members By Posting Answers For Below Questions

Do you feel that you are a good xslt programmer? : xslt

868


What are the ways to add styles to html?

992


Do you feel that you have chosen the right technology xslt? : xslt

900


Are you ready to relocate? : xslt

917