91. xIncludeText
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 91. xIncludeText

Parameter syntax:

    [ file_or_URL ]?

Includes at caret position the contents of a text file (of any kind: XML, HTML, `.bat`, C/C++, etc). This command allows to easily create documents containing `xi:include parse="text"` elements. Thus, this command is disabled when the document being edited does not support the XInclude inclusion scheme.

Optional parameter `file_or_URL` specifies the location of the text file to be included. When this parameter is not specified, a file chooser dialog box is displayed allowing to choose the text file to be included.

Examples:

    xIncludeText
    xIncludeText /home/john/src/hello.c

Prev | Up | Next
90. wrap | Home | 92. xpathSearch