46.1. Specifying splittable blocks
Prev | 46. insertSameBlock | Next

### 46.1. Specifying splittable blocks

A `property` in XMLmind XML Editor - Configuration and Deployment configuration element having a "``configuration_name` blockList`" `name` attribute must be specified in order to make the following commands work properly: `deleteSelectionOrJoinBlockOrDeleteChar`, `insertNewlineOrSplitBlock`, `insertSameBlock`.

The property simply contains the names of the elements which are to be considered as being splittable blocks by the aforementioned commands.

- The names must be separated by whitespace (of any kind).

- The order of the names in the list is not significant.

- A qualified name must be expressed using the Clark's notation {`namespace_URI`}`local_name`, that is, namespace prefixes are not supported here.

- A name may be preceded by the name of its parent element. Example: `listitem` and `orderedlist`/`listitem` are both supported.

- Annotation "`=paragraph`" may immediately follow the name of a block. This annotation marks the block as being the most common form of paragraph.

DocBook 4 example:

    <property name="DocBook blockList">
      bridgehead
      simpara para=paragraph
      term
      listitem
      varlistentry
      callout
      step
    </property>

| Here the name of the configuration for which a block list is being specified is "`DocBook`".
| This list generally contains the names of paragraphs and list items of all kinds. However, it's also possible to add headings of all kinds.

XHTML example:

    <property name="$c blockList">
      {http://www.w3.org/1999/xhtml}p=paragraph
      {http://www.w3.org/1999/xhtml}h1
      {http://www.w3.org/1999/xhtml}h2
      {http://www.w3.org/1999/xhtml}h3
      {http://www.w3.org/1999/xhtml}h4
      {http://www.w3.org/1999/xhtml}h5
      {http://www.w3.org/1999/xhtml}h6
      {http://www.w3.org/1999/xhtml}li
      {http://www.w3.org/1999/xhtml}dt
    </property>

| Pseudo-variable `$c` is automatically substituted with the name of the configuration being loaded by XXE.

Prev | Up | Next
46. insertSameBlock | Home | 47. insertString