例 12.1. SimpleList
<para>Here is a <tag>SimpleList</tag>, rendered inline: <simplelist type='inline'> <member>A</member> <member>B</member> <member>C</member> <member>D</member> <member>E</member> <member>F</member> <member>G</member> </simplelist> </para>
Here is a SimpleList
, rendered inline: A, B, C, D, E, F, G
<para>Here is the same <tag>SimpleList</tag> rendered horizontally with three columns: <simplelist type='horiz' columns='3'> <member>A</member> <member>B</member> <member>C</member> <member>D</member> <member>E</member> <member>F</member> <member>G</member> </simplelist> </para>
Here is the same SimpleList
rendered horizontally with three columns:
A | B | C |
D | E | F |
G |
<para>Finally, here is the list rendered vertically: <simplelist type='vert' columns='3'> <member>A</member> <member>B</member> <member>C</member> <member>D</member> <member>E</member> <member>F</member> <member>G</member> </simplelist> </para>
Finally, here is the list rendered vertically:
A | D | G |
B | E | |
C | F |
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。