View Single Post
  #3 (permalink)  
Old October 17th, 2003, 07:28 AM
Ian ORourke Ian ORourke is offline
Registered User
 
Join Date: Oct 2003
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My lack of experience on this is showing through, here is the DTD entry:

<!ELEMENT ship EMPTY>
<!ATTLIST ship
    code CDATA #REQUIRED
    voyage CDATA #REQUIRED
>

Okay, so I assume from the above that I would HAVE to have a value for both code and and voyage?

Obviously the EMPTY means I can get away with something, but I'm not sure what the significance is of what I can omit? And what the difference is in including - as the data is not in the tags (and I have to include the data as they are #REQUIRED)

Reply With Quote