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

Re: Which style first ? Re: Associating DSSSL style sheets with documen

  • From: Len Bullard <cbullard@h...>
  • To: xml-dev@i...
  • Date: Mon, 10 Mar 1997 09:49:57 -0600

style first date
Jon Bosak wrote:
> 
> [Kazumi Saito:]
> 
> | Many of DSSSL style-sheet will be depend on DTD, I think. I want to
> | put style-sheet entity declearation on DTD.
> 
> I think that it's a mistake to think of stylesheets as having a
> one-to-one relationship to DTDs.  It is possible to make one
> stylesheet work with many DTDs (though this is probably not a good
> practice), 

I don't see why this is the case.  In practice, where stylesheets are 
in use, the opposite has been the case.  Many DTDs share a lot 
of structures and can in fact, share stylesheets.  It is an issue 
of the degree of overlap.  Where content tagging is practiced, 
it is often convenient to take another format-oriented stylesheet 
such as one might provide for HTML and use the style information 
with different GIs.  Where DTDs vary only in degree, the same 
stylesheet is used.  

One very useful side effect is organizations quickly 
realize how many non-useful variations they have in their document 
structures and start looking for ways to winnow these out of 
their practices.  One way to do that cheaply is to parse against a 
DTD the organization provides.  The DTD becomes a corporate 
policy and a repository of corporate memory.  This 
is useful when attempting large rehosting or conversion projects.
The last thing I want when converting documents is a large 
collection of well-formed but inscrutable markup.

> | About well-formed XML document which has no DTD, it is not so bad that
> | such document has style-sheet or pointer to style-sheet for
> | portability, I think.
> 
> For XML this will be the typical case.  Typical XML documents
> transmitted over the Web will not have DTDs and will have to point to
> (or include) one or more stylesheets that are intended to be used with
> them.

I'm not sure the common HTML web experience to date will be the most 
predictive model for sound practice with stylesheets or DTDs.  The one
example 
we have, HTML does have a DTD for whatever use is made of it.
Our experience with DTDless processing was that people quickly found 
it necessary or convenient to create them although they don't transmit 
them often as you point out. 

As people who did not formerly practice SGML will learn, unvalidated 
markup is a nuisance, having a DTD is the best way to find out 
what was intended by the originator of a marked up instance, 
and is a rigorous expression of policy.

len bullard

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@i...)


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-2013 All Rights Reserved.