lse123 Posted October 19, 2011 Share Posted October 19, 2011 http://www.w3schools.com/dtd/dtd_elements.asp last Example:<!ELEMENT note (#PCDATA|to|from|header|message)*> PCDATA... this means can contain and other elements, even elements of elements[sub tree]? Link to comment Share on other sites More sharing options...
Ingolme Posted October 19, 2011 Share Posted October 19, 2011 http://w3schools.com/dtd/dtd_building.asp PCDATA is text that WILL be parsed by a parser. The text will be examined by the parser for entities and markup.Tags inside the text will be treated as markup and entities will be expanded.However, parsed character data should not contain any &, <, or > characters; these need to be represented by the & < and > entities, respectively.PCDATA allows entities, but not elements. In order to allow elements, you have to specify thir tag names. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.