w3pop.com :: 网络学院 :: XSL-FO :: XSL-FO list-item-label 对象
The <fo:list-item-label> object contains the label for the list-item - typically an <fo:block> containing a number, character, etc..
<fo:list-item-label>对象包含了list-item -标签,典型的例子是:包含了一个数字、字符等的<fo:block>。
There are four XSL-FO objects used to create lists:
下面列举了四个XSL-FO对象来创建列表:
<fo:list-item-label> <!-- Contents:(block|block-container| table-and-caption|table|list-block| list-item)+ --> </fo:list-item-label> |
| 属性 |
|---|
| id |
| keep-together |
| role |
| source-document |
An XSL-FO list example:
一个XSL-FO列表案例:
<fo:list-block> <fo:list-item> <fo:list-item-label> <fo:block>*</fo:block> </fo:list-item-label> <fo:list-item-body> <fo:block>Volvo</fo:block> </fo:list-item-body> </fo:list-item> <fo:list-item> <fo:list-item-label> <fo:block>*</fo:block> </fo:list-item-label> <fo:list-item-body> <fo:block>Saab</fo:block> </fo:list-item-body> </fo:list-item> </fo:list-block> |
The output from this code would be:
上述代码将输出下面的结果:
* Volvo * Saab |
评论 (0)
All