roleMapping

The <roleMapping> element contains all <attribute> and <element> elements for which a role is specified.

This feature in the configuration is now being replaced with the nodeConfig in Xopus 4.

<x:config version="1.0" xmlns:x="http://www.xopus.com/xmlns/config">
  <x:roleMapping>
    <x:element name="bold" role="strong" />
    <x:element name="italic" role="emphasis" />
    <x:element name="a" role="hyperlink" />
    <x:element name="picture" role="image" />
  </x:roleMapping>
</x:config>

roleMapping element

Namespace: http://www.xopus.com/xmlns/config

Allowed Children

attribute
(Optional)
element
(Optional)

Parent Elements

config

History

version event
Xopus 4 Deprecation.
Xopus 3 Introduction.