Parsed Character Data (PCDATA) is a data definition that originated in
Standard Generalized Markup Language (SGML), and is used also in
Extensible Markup Language
Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. T ...
(XML)
Document Type Definition
A document type definition (DTD) is a set of ''markup declarations'' that define a ''document type'' for an SGML-family markup language ( GML, SGML, XML, HTML).
A DTD defines the valid building blocks of an XML document. It defines the document ...
(DTD) to designate mixed content XML elements.
Example
The following sender-element could be part of an XML-document:
Anton Smith
The string "Anton Smith" would be considered as ''parsed character data''.
When declaring document elements. An element declaration employing the #PCDATA content model value does not allow for child elements.
See also
*
CDATA
The term CDATA, meaning character data, is used for distinct, but related, purposes in the markup languages SGML and XML. The term indicates that a certain portion of the document is general ''character data'', rather than non-character data or c ...
References
XML
{{Compu-stub