Formulir Kontak

Nama

Email *

Pesan *

Cari Blog Ini

Cdata Xml String

CDATA: The Ultimate Guide

What is CDATA?

CDATA stands for Character Data and it means that the data in between these strings includes data that could be mistaken for XML tags.

What is a CDATA section?

CDATA sections are a mechanism in XML for handling character data that might otherwise be confused with XML markup. CDATA sections are defined as blocks of text that are not parsed by the parser but are otherwise recognized as markup.

The term CDATA, meaning character data, is used for distinct but related purposes in the markup languages SGML and XML.

In XML, a CDATA section is used to escape a block of text that would otherwise be parsed as markup.

Character Data, commonly known as CDATA, plays a crucial role in representing text data within XML. A CDATA section delimits a text as being CDATA character data. It's used mostly to be able to use otherwise reserved characters, like the < and > characters, without having them be interpreted as the start or end of an XML element.


Komentar