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

RE: Common Word Processing Format


boom microformat
Hi.
 
> My point was: use the best format for the task, and don't be afraid to
> invent a new format if it's others are fitting a square peg 
> into a round
> hole, but never, no never play the 
> tunneling-markup-in-protean GI game
> of
> 
> <div class="monty">
>  <span class="python"/>
> </div>

From a core of basic agreement I have a couple of objections.

The first, which I think is echoing things Robert has also said, is that
if part of the task in "use the best format for the task" is sending out
documents to be edited by XML illiterate users, then making up my own
markup language is just not an option.  The lack of good authoring tools
has killed structured authoring for end users in the organization I work
for.  Far more people use MS Word with webworks templates than use
XML.... and not only for historical reasons, the uptake is actually
faster.  I have my fingers crossed that in the next couple of years this
will change.

The second is that there are times where the kind of
schema-tunneling-through-attributes is a good design pattern.  Layering
semantics on XHTML using attributes is a big step up in expressiveness,
and a necessary design pattern if you want to use CSS for formatting
complex pages.  To me this is a perfectly valid use case:

<ul class="navigation">
 <li><a href="home" class="home-link">home</a></li>
 <li><a href="next">next</a></li>
 <li><a href="previous">previous</a></li>
</ul>

Many microformats are also valid design patterns to my eye.  XFN is a
case in point, where a lightweight layer of naming conventions for the
values placed in rel attributes of links allows blogrolls to be
traversed and parsed as a rudimentary social network:

http://www.gmpg.org/xfn/

It's a case of taking content that's already quite common on web pages
and using markup conventions to add value for the machines.

The boom microformat (in my opinion) crosses the line into "tunelling
markup considered harmful"

We're no longer talking about using XHTML for the browser, but for
print, and creating a microformat that substantially re-purposes XHTML:

http://www.alistapart.com/articles/boom

Here's a specific example from boom that kind of bothers me, where XHTML
is used to markup a standard print element which document formats like
docbook have built in explicitly:

<div class="table">
  <p class="caption">...</p>
  <table class="lined">
    ...
  </table>
</div> 


---------->N

> 
> *OR*
> 
> <text:p text:style-name="monty">
> <text:span text:style-name="python"/>
> </text:p>
> 
> Unless that's really sensibly an XHTML class or an OOXML style.
> 
> 
> -- 
> Uche Ogbuji                               Fourthought, Inc.
> http://uche.ogbuji.net                    http://fourthought.com
> http://copia.ogbuji.net                   http://4Suite.org
> Articles: http://uche.ogbuji.net/tech/publications/
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
> 

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.