OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xml-dev] PCDATA and CDATA


In XML 1.0, #PCDATA can be in a element declaration and specifies that an element will contain parsed character data. Parsing tests whether the characters conform to the lexical constraints imposed by XML 1.0. 

CDATA appears in attribute declarations and specifies that an attribute will contain character data that is not parsed.


<!ATTLIST name nickname CDATA #IMPLIED>

#IMPLIED means that no default value is provided for the attribute nickname.

See http://www.w3.org/TR/REC-xml.html.