PCDATA

Parsed Character Data (PCDATA) is a data definition that originated in Standard Generalized Markup Language (SGML), and is used also in Extensible Markup Language (XML) Document Type Definition (DTD) to designate mixed content XML elements.[1]

Example

The following sender-element could be part of an XML-document:

<sender>Anton Smith</sender>

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. [2]

gollark: Unlike GTech™, they have no products, and are working on a drone delivery system which doesn't... do anything... and wouldn't be useful if it did.
gollark: Their headquarters is a ridiculous maze the construction of which nearly bankrupted them (because they don't do concrete in-house, like wrong people), their broken laser "defenses" try and lase me while in my office, many of the doors are mysteriously missing, and another company stuck a giant blob on top of their roof.
gollark: I suppose PixelTech™ is generally not very competent.
gollark: Yes, I am definitely harmed by people claiming that "potatOS" is present in random binary files they're editing.
gollark: Slightly fixed version.

See also

References

  1. Bray, Tim; Paoli, Jean; Sperberg-McQueen, C.; Maler, Eve; Yergeau, François, eds. (2008-11-26), "3.2.2 Mixed Content", Extensible Markup Language (XML) 1.0 (5th ed.), World Wide Web Consortium, retrieved 2014-06-08
  2. Carey, Patrick, 1961- (2014-11-17). New perspectives on XML : comprehensive. Vodnik, Sasha (3rd ed.). Boston, MA. ISBN 978-1-285-07582-2. OCLC 904969019.CS1 maint: multiple names: authors list (link)


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.