Subject: RE: expressing DTDs with UML From: DPawson@xxxxxxxxxxx Date: Tue, 14 Sep 1999 08:26:35 +0100 |
Brilliant idea. The very few tools which do permit visualisation of a DTD have foibles. There is a UML viewer available from Glasgow Uni I think. Even if it only permitted 'visual browsing' it would be good. Even better if we could use UML to generate a first cut DTD? Nice one. Is it possible/sensible to do a straight transform to UMI, which is then readable by a UML system? regards, DaveP >-----Original Message----- >From: Sam.Walker [mailto:Sam.Walker@xxxxxxxxxxxxxx] >Sent: 13 September 1999 13:49 >To: xsl-list@xxxxxxxxxxxxxxxx >Subject: expressing DTDs with UML > > >I have recently discovered what I consider quite a useful means of >expressing DTDs. I found that UML class diagrams could quite accurately >capture the information in a DTD. It seems to also permit more >constraining >definitions on the tag list. I have always found it very >boring and hard >reading to actually browse a dtd document, and I still don't really >understand the syntax. I don't know if this has come up >before, or if there >are already tools out there, but I thought it was worth a mention. >A UML - DTD mapping: >package - document type >class - a tag >attribute - a tag parameter >association - hyperlink >aggregation - allows expression of tag hierachy e.g. <car> ... <wheel >location="left_rear"></wheel></car> >inheritance - a means for sharing / inheriting attributes, >relationships > >I haven't discovered a use for methods yet! However, these >could form part >of the XSL definition perhaps. >Ideally the end result would be using a standard UML editor, with two >buttons "generate XSL", "generate DTD" button. > >Sam >------------------------------------------------------- >ANRITSU LTD >_/_/_/ Sam Walker _/_/_/ > Software Developer > ANRITSU LTD >European Engineering Centre >200, Capability Green >Luton, Beds, LU1 3LU, England >Tel +44 (0) 1582 433200 ext 634 >Fax +44 (0) 1582 433276 >E-Mail : sam.walker@xxxxxxxxxxxxxx > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: text() pattern matching, Earl Bingham | Thread | Obtaining system information, Ian Brockbank |
RE: Crazy idea, DPawson | Date | RE: text() pattern matching, Kay Michael |
Month |