File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes multiple ID in DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "multiple ID in DTD" Watch "multiple ID in DTD" New topic

multiple ID in DTD

Kamlesh Sangani

Joined: Feb 28, 2004
Posts: 22
posted June 19, 2004 04:48 PM
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">

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


Lets Java !<br />Kamlesh
jQuery in Action, 2nd edition
subject: multiple ID in DTD