General purpose elements to be used in any XML file (
.xml
, .rkh
, .pluginmap
)- <snippets>
Allowed as a direct child of the <document> node and only there. Should be placed near the top of the file. See section on using snippets. Only one <snippets> element may be present. Optional, no attributes.
- <snippet>
Defines a single snippet. Allowed only as a direct child of the <snippets/> element. Attributes:
- <id>
An identifier string for the snippet. Required.
- <insert>
Insert the contents of a <snippet>. Allowed anywhere. Attributes:
- <snippet>
The identifier string of the snippet to insert. Required.
- <include>
Include the contents of another XML file (everything inside the <document> element of that file). Allowed anywhere. Attributes:
- <file>
The filename, relative to the directory, the current file is in. Required.