PCDATA
This article needs additional citations for verification. (June 2019) |
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]
See also
References
- ^ 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
- ^ 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.
{{cite book}}: CS1 maint: location missing publisher (link) CS1 maint: multiple names: authors list (link) CS1 maint: numeric names: authors list (link)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.