Commit e22db172 authored by mmarkus1's avatar mmarkus1
Browse files

update docs

parent d9e3b325
# Readme for LIDO Application Profiles - Elements
*TODO*
\ No newline at end of file
# Readme for LIDO Application Profiles - Elements
**TODO**
### Multilingualism
Use `<div xml:lang="de">` to create text blocks in any language. The language needs to be selected from a controlled list. We achieve this by requiring the use of two-letter codes listed in the international standard ISO 639-1 for the representation of names of languages (such as "en" for "English" or "de" for "German").
**TODO**
Example
......@@ -10,7 +10,7 @@ All application profiles are in the `applications-profiles/` folder. Each applic
- `1.1/accompanying-texts/`
### Schema file
The XML Schema Definition file (.xsd) is the main component of an application profile. It specifies how to formally describe the elements and how to use them (documentation) in the scope of the application. The following applies: The entire scheme is always LIDO valid. Typically, the focus is on documentation in order to support users when using a profile. Please visit [**application-profiles-documentation.md**](../docs/application-profiles-documentation.md) to learn how to create and update such an documentation.
The XML Schema Definition file (.xsd) is the main component of an application profile. It specifies how to formally describe the elements and how to use them (documentation) in the scope of the application. The following applies: The entire scheme is always LIDO valid. Typically, the focus is on documentation in order to support users when using a profile. Please visit [**application-profiles-documentation.md**](../docs/application-profiles-schemafile.md) to learn how to create and update such an documentation.
A manual will be automatically generated from the schema file. It is important that the given structure and format in the schema file are adhered to. For more information about this automated generation visit [**lido-publication**](https://gitlab.gwdg.de/lido/lido-publication).
### Image folder
......
......@@ -177,20 +177,3 @@ tei:ref kann auch für Weblinks verwendet werden. In diesem Fall wird in @target
...
</xs:element>
```
### Multilingualism
Tei:ref is used to reference other elements within the LIDO schema. The target attribute indicates the element that is referenced in the schema by using # and the name of the element as a reference.
```xml
<xs:element name="displayMaterialsTech" type="lido:textComplexType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
<tei:ab type="definition">
Display element for materials/techniques,
corresponding to the following <tei:ref target="#materialsTech">materialsTech element</tei:ref>.
</tei:ab>
...
</xs:documentation>
</xs:annotation>
...
</xs:element>
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment