Parsed Character Data,PCDATA in XML: XML parsers are used to parse XML files. All parsers normally also parse the data inside the XML tag elements when the entire XML file is parsed.This parsing is needed since an XML tag element can contain other element tags also.
So PCDATA, the Parsed Character Data is nothing special.
It is the normal data stored in any XML file that will be parsed by an XML parser.
Simply put, PCDATA are data that are always recognized as markup.
For example, See the XML below
Rajeev
565-242-412
812768142
In the above sample While Parsing the XML file,,,565-242-412, 812768142, etc. will be parsed.
That is, not only the element tags, the data inside it also will get parsed.
CDATA (UnParsed Data) IN XML
Leave a Reply