[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DTDs: Teilite vs. Sdocbook


tei vs docbook
At 05:45 PM 7/30/2003, Gregory Murphy wrote:

>On Wed, 30 Jul 2003, Jonathan Robie wrote:
>
> > What are the relative advantages of these two DTDs? What are the relative
> > advantages of the set of tools available for each? Does either have an
> > advantage in terms of extensibility or compositionality with other 
> schemas?
> > Are there other schemas I should be considering?
>
>Each differs in its primary intent: DOCBOOK is for technical manuals, TEI
>for extant books, especially those of scholarly interest. As a result, TEI
>has phrase-level elements for marking up things like variants and errata,
>and has special purpose structural elements for encoding verse and theatre.
>DOCBOOK, on the other hand, has elements for capturing code, screen output,
>commands and their arguments, etc.

*** BOING ***

I knew that, but the significance of it did not hit me like it should have. 
I had sort of stupidly assumed that all three of these DTDs were so general 
they should all work more or less equally well for general purpose use. But 
they each define general purpose use differently. (Q: "What's the optimal 
DTD?" A: "What are you trying to optimize?")

Most of general office documents are more like what DOCBOOK describes than 
what TEI describes. When I write a memo or an article, I don't want to 
think about things like textual variants. I also don't want to think about 
most of the stuff in XHTML, I am only interested in the structure.

An interesting benchmark I discovered while working my way through this: I 
made a small outline, went down to a place where I could enter phrase-level 
text, and counted the number of relevant elements vs. irrelevant elements 
for several of the kinds of documents I commonly write. This measures the 
signal/noise ration of a DTD for a given purpose. For my own use at work, 
Simplified Docbook does very nicely.

Surely someone has come up with a bunch of "rule of thumb" metrics like 
this to compare DTDs for a given purpose. Does anyone know where I can find 
a good writeup of such metrics?

TEI does nicely for Greek manuscripts, which I sometimes play with in my 
free time. But it is not as good for the kinds of articles, memos, and 
specifications I spend much of my time writing at work.

Jonathan 


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.