roleMapping

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

Example

<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>

Elements and Attributes

Parent Elements

Element Description
config

The <config/> contains the global configuration.

<config version="1.0" xmlns="http://www.xopus.com/xmlns/config"/> is the root of an Xopus Local Configuration. It specifies the uri of the xml document to be loaded, its xml schema and what xsl files should be used to render the views.

Child Elements

Element Description
attribute

The attribute element is used to specify the role of a certain attribute in the current xml format.

element

The element element is used to specify the role of a certain element in the current xml format.

Attributes

None

Related Topics


Title Description
Upgrade from Xopus 2 to 3

Xopus 3 is not backward compatible with Xopus 2. So in order to upgrade to Xopus 3, the Xopus integration needs to be upgraded as well. This document explains the steps you need to take to upgrade your Xopus 2 integration.

attribute

The attribute element is used to specify the role of a certain attribute in the current xml format.

config

<config version="1.0" xmlns="http://www.xopus.com/xmlns/config"/> is the root of an Xopus Local Configuration. It specifies the uri of the xml document to be loaded, its xml schema and what xsl files should be used to render the views.

element

The element element is used to specify the role of a certain element in the current xml format.

The Xopus Toolbars

The Xopus Interface has a couple of interesting buttons. They contain certain functionality that will be explained here.