Hello everyone,
I would like to convert an existing UML-model (class diagram) into a DTD.
What I expect
for a class named "mail" with attributes "Recipient, Sender, Date,
Subject,Textbody"
is something like this for the generated DTD:
<!ELEMENT mail (Recipient, Sender,
Date, Subject,
Textbody) >
<!ELEMENT Sender (#PCDATA) >
<!ELEMENT Recipient (#PCDATA) >
<!ELEMENT Date (#PCDATA) >
<!ELEMENT Subject (#PCDATA) >
<!ELEMENT Textbody (p)+ >
<!ELEMENT Name (#PCDATA) >
<!ELEMENT p (#PCDATA|Name)* >
<!ATTLIST p lang (de|en) "en" >
Is there any tool which can do this for me?
BTW: Rational Rose 2001 Enterprise Edition does offer DTD
roundtrip-engineering,
but this is *not* what I want. You really have to do DTD modelling in Rose
to generate
a DTD. You can't use your existing models unmodified. But that's what I
need.
Thanks for your help
Carsten
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************