View Single Post
  #3 (permalink)  
Old October 24th, 2008, 01:05 PM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

>a CDATA section defined in a DTD

I think you are confusing different concepts here.

CDATA sections are not defined in a DTD. However, DTDs do use very similar keywords for two other (but different) concepts: CDATA is one of the attribute types available (the others are ID, IDREF, NMTOKENS, etc), and #PCDATA can be included in a content model for elements to indicate that it can contain text (rather than or as well as child elements). Both of these concepts are quite similar to the XML Schema concept of xs:string.

Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer's Reference
Reply With Quote