Skip to content

How to show formatted help text

Franziska Zander edited this page Apr 16, 2019 · 1 revision

Goal

Show HTML-formatted help text for each element.

Introduction

Help text is shown above each attribute. In order give longer explanations the text can be formatted with HTML.

Workflow

Create an annotation section for the element. Enclose your text with <![CDATA[ some text with html tags ]].

<xsd:element name="title" type="xsd:string">
     <xsd:annotation>
          <xsd:documentation><![CDATA[ Exploratorien für <b>funktionelle</b> Biodivforschung.]]></xsd:documentation>
     </xsd:annotation>
</xsd:element>

Test

  1. Create a help text in your xsd
  2. Upload the new metadata structure
  3. Open the form to create a new dataset and show help
Clone this wiki locally