[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Element Occurrence and #PCDATA
Dan: #PCDATA represents "Parsed Character Data". Years ago when I first started working with SGML, I had the same question. I saw the #PCDATA and thought what is the difference between Personal Computer (PC) Data and UNIX or VMS data. Basically is means that the parsers looks at every character. Character Data (CDATA - only valid in attributes and Marked Sections in XML) says that the parser will not look at the characters in a CDATA element. Hope this helps. Betty /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey, XML Consultant, | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | harvey@e... | Washington,DC SGML/XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ On Tue, 20 Nov 2001, Dan Mabbutt wrote: > I have a question about a slightly obscure syntax of #PCDATA in a DTD. > > Is the syntax (#PCDATA)* ever meaningful? > > I've searched the archives for this group, Googled the Web, and searched > every text I have. The only references I can find are in "XML For Dummies" > (2nd Ed.) where the syntax is used quite extensively on page 85 and 86 and > one single reference on page 232 of Simon St. Laurent's "XML A Primer" by > Simon St.Laurent that is really about CDATA and the use of the syntax may, > or may not, be meaningful. (That's why this message is also directed to Mr. > St.Laurent.) > > Thanks! > > Dan Mabbutt > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://lists.xml.org/ob/adm.pl> > --
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|