22. property

<property
  name = non empty token
  url = boolean : false
  xml:space = preserve
>text</property>

Define Java™ system property (that is, java.lang.System.setProperty()) called name. The value of this property is specified by text.

If the url attribute is specified and its value is true, text must be a relative or absolute URL (properly escaped like all URLs). In such case, the value of the system property is the fully resolved URL.

This element is mainly intended to be used to configure some custom commands.

Examples:

<property name="color">red</property>

<property name="icon.3" url="true">resources/icon.gif</property>

The "$c" pseudo-variable may be referenced in the name of the property. This pseudo-variable is substituted with the name of the configuration being loaded. Example: the following property is used to parameterize the behavior of commands insertNewlineOrSplitBlock in XMLmind XML Editor - Commands, insertSameBlock in XMLmind XML Editor - Commands and deleteSelectionOrJoinBlockOrDeleteChar in XMLmind XML Editor - Commands when invoked from a DITA topic.

<property name="$c blockList">
  p
  dt
  li
  dlentry
  step
  substep
  choice
</property>