• Post Reply Bookmark Topic Watch Topic
  • New Topic

DTD  RSS feed

 
Kamlesh Sangani
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

how can we create DTD for composite primary key as we can not have 2 ID atributes for one element?

consider the following e.g.

<name firstname="a" lastname="b">
<age>21</age>
<location>usa</location>
</name>

suppose i want to assign ID to both firstname and lastname atributes. is it possible through DTD?

thanks
kamlesh
 
Kamlesh Sangani
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found out. DTD does not support "composite" primary/foreign key.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!