95.2. The syntax of the generic inclusion command

Parameter syntax:

'into' | ('replace'|'before'|'after' [ implicit_selection ]?)
[ S command ]?

Command specifies the command to be executed. If this command is not specified, a generic, low-level, dialog box[7] is displayed in order to let the user specify it.

This command must parse its arguments and generate one or more XML elements. These elements are then included in the document being edited.

into

Pastes generated elements into element containing caret, at caret position.

replace

Pastes generated elements replacing text selection or selected nodes..

before or after

Pastes generated elements before of after selected nodes.

Examples:

genericInclude into
genericInclude before[implicitElement]
genericInclude after %C/date.sh
genericInclude replace[implicitElement] !! programlisting main.c


[7] This dialog box is expected to be replaced by higher-level, more user-friendly, dialog boxes in specializations of the com.xmlmind.xmleditapp.genericincl.GenericInclude command.