[NTG-context] XML and table interpretation
Hans Hagen
pragma at wxs.nl
Mon Apr 10 02:15:52 CEST 2006
Johannes Graumann wrote:
> Why do these two things work:
>
> 1)\defineXMLnested
> [td]
> [rows=1,cols=1]
> {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}
> {\eTD}
> (in conjunction with '<tr><td rows="2">Gene product</td><td cols="3">HPM
> tag</td><td rows="2">TAP tag</td><td rows="2">mod. TAP tag</td><td
> rows="2">Frequ. in ref. set</td></tr>')
>
>
> 2) \bTR[bottomframe=on,rulethickness=0.3pt]\bTD a \eTD\bTD b \eTD\bTD b
> \eTD\bTD c \eTD\eTR%
>
> But this doesn't?
>
> \defineXMLnested
> [tr]
> [bottomframe=off,rulethickness=0.3pt]
> {\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}
> {\eTR}
>
\expanded{\bTR[....]}
has to do with the fact that TABLE collects its info and therefore you
need to freeze the settings
> together with '<tr bottomframe="on"><td rows="2">Gene product</td><td
> cols="3">HPM tag</td><td rows="2">TAP tag</td><td rows="2">mod. TAP
> tag</td><td rows="2">Frequ. in ref. set</td></tr>'
>
> Thanks, Joh
>
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list