Re: Should one adopt the tag naming convention of anexisting X
What I know from my past projects is that the naming conventions depend a lot on what you are trying to model with the DTD, and the end users of your model. Â (assuming DTD here - but could be schemas, etc. Â these project were from way back). For example, the CALS DTD. Â THe US CALS DTD was basically a model of the "documents" being produced. Â In other words, they used text concepts like volume, chapter, section, para, table, etc. When I worked on the CALS DTD for Canada it was decided the DTD would be a model of "equipment" not "documents" - hence there were tags Â introduced for concepts like assembly (recursive) and for each assembly there were parts list, trouble shooting tables, equipment description, repair instructions, etc. Â Sure ultimately, when the content wound up as "text", it made sense to use textual tags - section, para, etc. - and there we could have adopted common tag names - but even these would have specific equipment tags in the mixed content sections. Â Tables weren't columns and rows, they were symptoms, test procedure, repair procedure, etc. - but were still rendered as a table. When working with the Department of Justice - it was decide to use tag names that the authors of legislative text (lawyers and legal specialists) already understood and were in use from authoring all the way through parliament. Â This was before any generic legislative DTDs hit the market. Â We tried to minimize the disruption in the authoring process on the switch from a highly customized older version of Word-Perfect to SGML. So I have always found context and end users to be the driving force, when a "standard" DTD was not available. Â Maybe if you are trying to decide a tag name from 3 different vocabularies, you would pick the one with the greatest degree of fit to your end user... whatever degree of fit might mean in your environment. Cheers....Hugh UBL is in your future.... Â http://goUBL.com On Fri, 3 Feb 2012 19:14:24 +0000, "Costello, Roger L." <email@example.com> wrote: Hi Folks, > > I am about to create an XML vocabulary. > > My XML vocabulary will leverage (reuse) three existing, mature XML > vocabularies. > > So my XML instances will consist of tags that I created and tags from > the existing, mature XML vocabularies. > > For the tags that I create, what tag naming convention should I use? > Here are two possibilities: > > 1. I will create a my own tag naming convention, independent of the > XML vocabularies that I will use. > > 2. I will adopt the tag naming convention of one of the XML > vocabularies that I will use. (Which one?) > > What do you recommend? What are the tradeoffs? > > /Roger > Â
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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