table with column specifications

colgroup

1a 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9

colgroup with width attribute

1b 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9

colgroup with <col> elements

1c 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9

from cer.xil

CER NER display description charsets
&amp; &#38; & ampersand
&lt; &#60; < less than sign

source for Home/ByExample/XilizeMarkup/Signatures/Explicit/table :: withColSpec.xil

table with column specifications


colgroup

table. &{columns:
\2{background:lightblue}
\4{background:lightgreen}
\3{background:lightyellow}
}
| 1a | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

colgroup with width attribute

table. &{columns:
\2{background:lightblue} 40
\4{background:lightgreen} 20
\3{background:lightyellow} 30
}
| 1b | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9


colgroup with @<col>@ elements

table. &{columns:
| 50 |{background:lightblue} 40
{background:lightgreen}| | 80 | | 
\3{background:lightyellow} 30
}
| 1c | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

from cer.xil

table(cer). &{columns:
|{background:LemonChiffon;}. 70
|{background:LavenderBlush;}. 70
|=. 15
|{background:wheat;}=. 280
|{background:LemonChiffon}. *
}
| CER(Character Entity Representation) | NER(Numeric Entity Representation) |
display | description | charsets
| &amp;amp; | &amp;#38; | &#38; | ampersand | 
| &amp;lt; | &amp;#60; | &#60; | less than sign |

Long lines are wrapped in this listing.
Use your web browser's "View Page Source" feature to examine the HTML