Skip to content

Commit

Permalink
Update _index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernT authored Jul 5, 2024
1 parent 6d3a2f1 commit eece77b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/elements/model/instance/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ necessary.
| type | 'xml' or 'json' or 'html' are supported by now | xml |
| xpath-default-namespace | namespace to be used with unprefixed XPathes | emtpy |

## Using multiple instances

When using multiple instances you need to add an `id` attribute to each instance that is NOT the first in document order. The first is known as the default instance and doesn't need an explicit id but can be accessed with `instance()` or `instance('default'). See [Default instance](https://jinntec.github.io/fore-docs/glossary/#default-instance).

## Inline versus external data

A data structure can be given inline or be loaded via the `src` attribute. However there are important limitations of inline instances to be mentioned:
Expand Down

0 comments on commit eece77b

Please sign in to comment.