Subject: Re: cell table borders (confused of Oxford) From: James Clark <jjc@xxxxxxxxxx> Date: Tue, 22 Apr 1997 17:30:38 +0700 |
At 10:24 22/04/97 +0100, Sebastian Rahtz wrote: >In the Elsevier DTD, the table model is quite straightforward, and I >can write some straightforward code saying: > >(element c > (make table-cell > n-rows-spanned: (string->number (attribute-string "RSPAN")) > n-columns-spanned: (string->number (attribute-string "CSPAN")) > (process-children-trim) > ) >) > >but then we come to borders. we tag these as elements within the cell, >so a cell with a bottom border would look like eg: > > <c><bottom-border>63</c> > >so what i want is something like > > cell-after-row-border: (process-matching-children "bottom-border")) > >and > > (element bottom-border (make table-border border-present?: #t)) > >but this doesnt er um gel. I am floundering here seeing to express >what I want. Any suggestions? Try something like: cell-after-row-border: (not (node-list-empty? (select-elements (children (current-node)) 'bottom-border)))
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
cell table borders (confused of Oxf, Sebastian Rahtz | Thread | Re: cell table borders (confused of, Sebastian Rahtz |
Re: entity mapping in Jade -> SGML, James Clark | Date | Re: entity mapping in Jade -> SGML, Sebastian Rahtz |
Month |