Re: Production notes (Tables and Document Fragment)

Subject: Re: Production notes (Tables and Document Fragment)
From: David Megginson <ak117@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Apr 1998 07:14:29 -0500
Antoine Perier writes:

 > Chris Maden wrote:

 > > The point of XML is the ability to define and use one's own markup.
 > > That means HTML 4 tables, CALS tables, HTML+ tables, ArborText tables,
 > > SoftQuad tables, or your own, more semantic table markup.
 > 
 > Do you mean that an XML browser will be able to display all these tables
 > ?   

There are three ways that this can happen (in order from best to worst):

1) You design your own table type, then use an XSL stylesheet to
   format it using the DSSSL "table" or HTML "HTABLE" flow object
   classes (or others, if appropriate):

   <!-- from the XSL spec -->
   <rule>
     <target-element type="my-special-table"/>
     <table>
      <children/>
     </table>
   </rule>

2) You can derive your semantic table to table model that the browser
   _does_ know about using architectural forms:

   <!-- from your internal or external DTD subset -->
   <!ATTLIST my-special-table
     html NMTOKEN #FIXED "TABLE">

3) You use a browser that knows about different namespaces, and grab a
   table from one of those namespaces:

   <!-- from your document -->
   <CALS:table>
     [...]
   </CALS:table>

(1) is ideal, because you have the most freedom in presentation.  (2)
is acceptable, because you can still name your table (and its
children) anything you want, as long as you derive them from something
that the browser knows about.  (3) is workable but awkward, because
you can use _only_ the models that the browser already knows about (or
for which you can provide an XSL fragment of some sort).


All the best,


David

-- 
David Megginson                 ak117@xxxxxxxxxxxxxxxxxxx
Microstar Software Ltd.         dmeggins@xxxxxxxxxxxxx
      http://home.sprynet.com/sprynet/dmeggins/


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Re: Production notes (Tables and Document Fragment)
    • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id QAA08763Wed, 1 Apr 1998 16:24:58 -0500 (EST)
      • Antoine Perier - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA24779Thu, 2 Apr 1998 10:33:54 -0500 (EST)
        • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA26062Thu, 2 Apr 1998 10:58:49 -0500 (EST)
      • <Possible follow-ups>
      • David Megginson - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA01239Fri, 3 Apr 1998 07:19:06 -0500 (EST) <=
        • Antoine Perier - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA23283Sun, 5 Apr 1998 07:04:59 -0400 (EDT)
      • David Megginson - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA11915Mon, 6 Apr 1998 09:21:24 -0400 (EDT)