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 d ...
(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 electronic document, documents in a format that is both Human-readable med ...
(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 st ...
(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