External Annotation¶
External annotation makes a reference to an external FoLiA document whose structure is inserted at the exact place the external element occurs.
Specification¶
Annotation Category: | |
---|---|
Declaration: |
|
Version History: | |
Since v2.4.0 |
|
Element: |
|
API Class: |
|
Required Attributes: | |
|
|
Optional Attributes: | |
|
|
Accepted Data: |
|
Valid Context: |
|
Explanation¶
This annotation type type is used to split a larger document into multiple smaller ones, and link from the parent
document to the external child documents. It is a type of higher-order annotation that is inserted at a certain place in the
parent structure. The parent document would be functionally equivalent if the structure of the external child documents were
inserted at the point the <external>
element occurs.
The <external>
element is valid in most structural elements. It is not a mechanism to create stand-off
annotation documents. Each external document must also be a valid FoLiA document in its own right.
The src
attribute can refer to a local file path (relative or absolute) or a remote URL.
Example¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <?xml version="1.0" encoding="utf-8"?> <FoLiA xmlns="http://ilk.uvt.nl/folia" version="2.0" xml:id="example"> <metadata> <annotations> <text-annotation> <annotator processor="p1" /> </text-annotation> <external-annotation> <annotator processor="p1" /> </external-annotation> </annotations> <provenance> <processor xml:id="p1" name="proycon" type="manual" /> </provenance> </metadata> <text xml:id="example.text"> <external src="chapter1.folia.xml" /> <external src="chapter2.folia.xml" /> </text> </FoLiA> |