13. copyAsInclusion
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 13. copyAsInclusion

Parameter syntax:

    [ '[implicitElement]' ]?

Copies explicitly selected elements (or implicitly selected element if the `[implicitElement]` option is used) to system clipboard. Each element copied to the clipboard is marked as being a reference to an element rather than plain XML data.

Command `copyAsInclusion` works when one or more elements are selected. A selected element may be a normal element or a reference to an element. A selected element cannot be contained inside a reference to an element.

Example:

    copyAsInclusion [implicitElement]

Commands copyAsInclusion (generally bound to keystroke Shift-Ctrl-C) and pasteInclusionEnabled (generally bound to keystroke Ctrl-V) are used to compose modular documents, see the corresponding tutorial section in the User's Guide.

See also copyInclusionEnabled, include, cutInclusionEnabled, pasteInclusionEnabled.

Command `copyAsInclusion`, like command include requires the presence of the `XInclude` processor. This processor, available by default, may be disabled by using the `inclusionProcessor` configuration element. See Section 13, “inclusionProcessor” in XMLmind XML Editor - Configuration and Deployment.

Prev | Up | Next
12. copy | Home | 14. copyInclusionEnabled