Skip to content

Commit

Permalink
docs(dsp-tools-xmlupload): Add Warning section (#69)
Browse files Browse the repository at this point in the history
It is very important to know about this detail. Already two people ran into this, and it costed a lot of time to both of us. This warning is definitively needed.
  • Loading branch information
jnussbaum committed Jul 14, 2021
1 parent 318547f commit 05baf3d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/dsp-tools-xmlupload.md
Expand Up @@ -169,13 +169,18 @@ The `<resource>` element contains a property element (e.g. `<text-prop>`) for ea
describing the resource. The property element itself contains one or several value elements (e.g. `<text>`) and must
have an attribute `name` with the name of the property as defined in the project specific ontology.

Example for a property element of type text (`<text-prop>`) with the value element `<text>`:
Example for a property element of type text (`<text-prop>`) with two value elements `<text>`:

```xml
<text-prop name=":hasTranslation">
<text encoding="utf8">Dies ist eine Übersetzung</text>
<text encoding="utf8">Und eine andere Übersetzung</text>
</text-prop>
```

| ⚠ Look out |
|:----------|
| In case of a cardinality 1-n, you must **NOT** create multiple `<text-prop>` tags, but multiple `<text>` tags in one single `<text-prop>`! |

The following property elements exist:

Expand Down

0 comments on commit 05baf3d

Please sign in to comment.