summaryrefslogtreecommitdiffstats
path: root/docs/reference/snippet-types.rst
blob: c32a80d5f7deb7dbf10945e7374ddc41ce1c7079 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Snippet Types
=============

{ name, type, value }; assumes Name as name and Value as value in examples.

SNIPPET_NODE

  <Parent>
    <Value/>
  </Parent>


SNIPPET_CONTENT

  <Parent>
    <Name>Value</Name>
  </Parent>


SNIPPET_TEXT_CHILD

  <Parent>
    Value
  </Parent>


SNIPPET_NAME_IDENTIFIER

  (same result as SNIPPET_NODE)


SNIPPET_ATTRIBUTE

  <Parent Name="Value"/>


SNIPPET_NODE_IN_CHILD

  <Parent>
    <Name>
      <Value/>
    </Name>
  </Parent>


SNIPPET_LIST_NODES

  <Parent>
    <Value-1/>
    <Value-2/>
    <Value-n/>
  </Parent>


SNIPPET_LIST_CONTENT

  <Parent>
    <Name>Value-1</Name>
    <Name>Value-2</Name>
    <Name>Value-n</Name>
  </Parent>

SNIPPET_EXTENSION

  (for <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>)