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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Production notes (Tables and Do, Chris Maden | Thread | Re: Production notes (Tables and Do, Antoine Perier |
RE: Using "DEFINE", Pawson, David | Date | page-number-sosofo, Pawson, David |
Month |