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

Re: xml + style.

  • From: David <dlee@calldei.com>
  • To: xml-dev@lists.xml.org
  • Date: Tue, 22 Jun 2010 10:34:19 -0400

Re:  xml + style.

On 6/22/2010 3:12 AM, Dave Pawson wrote:
20100622081222.45903745@marge3" type="cite">I was asking if any other work has been done in this area.
It's largely been a sacred cow since XML, I no longer take
that view. 

regards


  

IMHO, this "sacred cow" is a misconception, although I have shared it myself.  

It confuses the markup language (XML) with the intent of the document (data vs presentation vs content ...).

If the intent of the document is indeed presentation there are "blessed golden cow" standards that fully embrace it.  A classic example is FOP which is all about presentation.  And of course xhtml ...  Then there are "somewhat structured somewhat presentation" formats like say DocBook ... although I suspect some would argue that they are not at all presentational I disagree.  Its a mater of degree.    You may not be specifying the exact font or even presentation order in DocBook but when you do have things like "Ordered Lists" I would call that atleast somewhat presentation markup.   ( from" http://www.docbook.org/tdg/en/html/orderedlist.html 
" A list in which each entry is marked with a sequentially incremented label" - to my reading that is a presentational directive).


In the end I think it all depends on your goals.  A lot of what "markup geeks" are trying to do is to get away from a long long history of presentational documents and to encode meaning and structure and separate out the presentation into some other thing (like XSLT + FOP ! yet still that's XML ).

So its not like "XML Shall Not Encode Presentation Data."

There does seem to be a lot of standards somewhat in the middle.  (like say HL7 or even xhtml), depending on how you look a it, either recognize the difficulty of fully removing presentational markup, embraced it as a 'necessary evil', or perhaps gave up fighting the desires of the actual end users of the technology.   Maybe thats "good".  
IMHO, the choice should be driven by the goals of the users of the technology, not the technology itself.

In fact if you *couldnt* represent presentation data in XML I suggest XML would never have gained wide use.




-------------------------
David A. Lee
dlee@calldei.com
http://www.calldei.com
http://www.xmlsh.org



[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!

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.