List Annotation¶
Structure annotation for enumeration/itemisation, e.g. bulleted lists.
Specification¶
List¶
Annotation Category: | |
---|---|
Declaration: |
|
Version History: | |
Since the beginning |
|
Element: |
|
API Class: |
|
Required Attributes: | |
Optional Attributes: | |
|
|
Accepted Data: |
|
Valid Context: |
|
Item¶
Element: |
|
---|---|
API Class: |
|
Required Attributes: | |
Optional Attributes: | |
|
|
Accepted Data: |
|
Valid Context: |
|
Explanation¶
The <list>
element creates a list, a class and set may be associated with the list to indicate the type of list. As
always, this vocabulary is user-defined. Individual list items need to be wrapped in the <item>
structure element.
Example¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <?xml version="1.0" encoding="utf-8"?> <FoLiA xmlns="http://ilk.uvt.nl/folia" version="2.0" xml:id="example"> <metadata> <annotations> <text-annotation /> <token-annotation> <annotator processor="p1" /> </token-annotation> <list-annotation /> </annotations> <provenance> <processor xml:id="p1" name="proycon" type="manual" /> </provenance> </metadata> <text xml:id="example.text"> <list xml:id="example.list.1"> <item n="1"> <w xml:id="example.list.1.item.1"> <t>Hello</t> </w> </item> <item n="2"> <w xml:id="example.list.1.item.2"> <t>Bonjour</t> </w> </item> <item n="3"> <w xml:id="example.list.1.item.3"> <t>Hola</t> </w> </item> </list> </text> </FoLiA> |