Show TOC Start of Content Area

Background documentation Supported XHTML Tags for FormattedText  Locate the document in its SAP Library structure

You can use the following XHTML modules (Namespace http://www.w3.org/1999/xhtml): The XHTML tags will have the default namespace, meaning that they do not need to be prefixed.

Text Module

Element

Minimal Content Model

Description

abbr

(PCDATA | Inline)*

Abbreviation

acronym

(PCDATA | Inline)*

Acronym

address

(PCDATA | Inline)*

Address

blockquote

(PCDATA | Heading | Block | List)*

Quotation block

br

EMPTY

Line break

cite

(PCDATA | Inline)*

Citation

code

(PCDATA | Inline)*

Inline Code

dfn

(PCDATA | Inline)*

Definition

div

(PCDATA | Flow)*

Div

em

(PCDATA | Inline)*

Emphasized

h1

(PCDATA | Inline)*

Header 1

h2

(PCDATA | Inline)*

Header 2

h3

(PCDATA | Inline)*

Header 3

h4

(PCDATA | Inline)*

Header 4

kbd

(PCDATA | Inline)*

Keyboard shortcut

p

(PCDATA | Inline)*

Paragraph

pre

(PCDATA | Inline)*

Preformatted content

q

(PCDATA | Inline)*

Quotation

samp

(PCDATA | Inline)*

Sample

span

(PCDATA | Inline)*

Span

strong

(PCDATA | Inline)*

Strong

var

(PCDATA | Inline)*

Variable

List Module

Elements

Minimal Content Model

Description

dl

(dt | dd)+

Definition list

dt

(PCDATA | Inline)*

Definition topic

dd

(PCDATA | Flow)*

Definition item

ol

li+

Ordered (numbered) list

ul

li+

Unordered (bullet) list

li

(PCDATA | Flow)*

List item

Hypertext Module

Element

Minimal Content Model

Description

a

(PCDATA | Inline - a)*

Hypertext link

Supported attributes for a href and title

The href will not be directly rendered into the resulting HTML output. Instead, it will trigger the action on the FormattedTextView, with the content of the href as a parameter. This allows the application to decide whether it really wants to navigate to another page and (thus exiting the application) or to react differently, as specified in the action handler.

Image Module

Elements

Minimal Content Model

Description

img

EMPTY

Image

Supported attributes for img: src and title

SAP tags

These tags (namespace “sap”) are added by SAP:

Element

Minimal Content Model

Description

formattedText

(PCDATA | Heading | Block | List | Inline)*

Root element

field

EMPTY

Field reference

Supported attributes for the name field

The field tag, for example, would look like this: <field name="field name"/>

End of Content Area