• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

DTD Conventions

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got my SCJP last year. Now I am slooowwwly getting through the JSP material for SCWCD.
I am wondering if someone can point me to a resource for decoding some DTD conventions. Is there a doc that explains the doc? What's #PCDATA versus EMPTY?
For instance, the following is greek to me:
<!ELEMENT display-name (#PCDATA)>
versus
<!ELEMENT distributable EMPTY>
 
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess the forum to post this question would be XML forum. Anyway,
#PCDATA indicates that the content of the element is of type parsed character data, simply put, character data that does not contain any markups. When the element is defined as EMPTY it does not have any content. For eg. <email></email> or <email \> would be an empty element and
<name>Menon Hema</name> would be an example of an element defined as of content PCDATA.
Later,
Hema
 
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It was given in XML specifications.. follow this link http://www.w3.org/TR/REC-xml[/url]
Sridhar
 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's also a pretty good introduction to XML here:
http://www.xml.com/pub/a/98/10/guide0.html
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic