File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "multiple ID in DTD" Watch "multiple ID in DTD" New topic
Author

multiple ID in DTD

Kamlesh Sangani
Greenhorn

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">
<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


Lets Java !<br />Kamlesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multiple ID in DTD