Parsed Character Data (PCDATA) is a data definition that originated in
Standard Generalized Markup Language
The Standard Generalized Markup Language (SGML; ISO 8879:1986) is a standard for defining generalized markup languages for documents. ISO 8879 Annex A.1 states that generalized markup is "based on two postulates":
* Declarative: Markup should de ...
(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 data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. The Wor ...
(XML)
Document Type Definition (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 ch ...
References
XML
{{Compu-stub