[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|