From: <Hov...@ly...> - 2003-09-01 10:04:29
|
I will make part and devices similar. I will also add type for part. We can use it later to attach graphical figures to types. H. -----Original Message----- From: arto [mailto:art...@ed...] Sent: Monday, September 01, 2003 1:24 PM To: Vcb...@li... Cc: Hov...@ly... Subject: part/device DTD namings Hi all, We have naming problem for the VCB configurations for example it is dificult to have in one configuration two the same parts or devices. for that purpose I want to change DTDs for part and device for device in the atribute we have only name and now i suggest to have: <!ATTLIST device type CDATA #REQUIRED sourcename CDATA #REQUIRED name CDATA #IMPLIED > where 'type' will be the type of the device for example "WebPage", 'name' will be display name in the configuration for example if name is not defined for type="WebPage" it will be "WebPage1" or my be defined like "MyHomepage", sourcename will indicate XML configuration file name. --------------------- for part in the attribures we have name only and we use it as display name as well as classname. <!ATTLIST part name CDATA #IMPLIED classname CDATA #REQUIRED sourcename CDATA #REQUIRED > where "classname" is classname of the IPart class (or in the future standard class) "name" is the display name in the device configuration "sourcename" is part's description XML file name. Is there any idea? Artavazd |