W3C home > Mailing lists > Public > www-rdf-interest@w3.org > March 2003

[OT] was : RE: the composite ID attribute

From: Danny Ayers <danny666@virgilio.it>
Date: Thu, 13 Mar 2003 22:53:05 +0100
To: <www-rdf-interest@w3.org>
Message-ID: <BKELLDAGKABIOCHDFDBPMEIBCDAA.danny666@virgilio.it>
Which of the folllowing is the fastest approach to homework?

1. RTFM
2. DSL


-----Original Message-----
From: www-rdf-interest-request@w3.org
[mailto:www-rdf-interest-request@w3.org]On Behalf Of Kalam Abu
Sent: 13 March 2003 12:45
To: www-rdf-interest@w3.org
Subject: the composite ID attribute


  Hi,,,

  The concept of composite key which is available in Relational Database is
it also available in the XML DTD or XML RDF?  ..I tried to declare an
element attributes of a course relation as the following:

   1. <!ELEMENT  COURSE (course_id, dep_id , title, units)>

     2.  <!ATTLIST  COURSE  (course_id, dep_id) ID    # REQUIRED>

  as you can see  the two attributes course_id and dep_id  of the main
Element (relation) COURSE are key (composite key) .

  my question: Is the syntax of line no.2 right or not and why?

    Regards

  -AbuKalam





----------------------------------------------------------------------------
--
  Do you Yahoo!?
  Yahoo! Web Hosting - establish your business online
Received on Thursday, 13 March 2003 16:54:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:58 GMT