
January 26th, 2013, 01:17 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 1
Time spent in forums: 14 m 20 sec
Reputation Power: 0
|
|
|
Idref
hi ,
if i have DTD like this :
<!ELEMENT db (company*, employee*)>
<!—a company has a company id number and name and contains a list of its products -->
<!ELEMENT company>
<!ATTLIST company
c_id ID #REQUIRED
name CDATA #REQUIRED
>
<!—an employee has a name and the company for which he works -->
<!ELEMENT employee>
<!ATTLIST employee
name CDATA #REQUIRED
company IDREF
e_id ID #REQUIRED
partner IDREF
>
my question is :
the value of atrribute partner (in employee) can have id from category ?? meaning the IDREF can reference to c_id (from category) ???
|