...
Description
Human-readable text that is appropriate for a particular language. TranslatedText elements typically occur in a series, presenting a set of alternative textual renditions for different languages and types.
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
To find the text appropriate for a target language with tag LT, search for a TranslatedText element whose xml:lang attribute matches LT exactly (ignoring case). If that fails, remove the ending subtag from LT and repeat. If that fails, search for a TranslatedText without an xml:lang attribute and use that. If none is found, there is no suitable text available. E.g.
...
A base minimum set of HTML tags which needs to be supported for ODM conformance:
- Layout containers: <div> <p> <br>
- Headers: <h1> <h2> <h3> <h4> <h5> <h6>
- Text styling: <strong> <em> <sup> <sub>
- Quotes/Unformatted/Code: <blockquote> <code> <pre>
- Lists: <ul> <ol> <li>
- Definitions: <dl> <dt> <dd>
- Lines: <hr>
- Block-level quotes/preformatted: <pre> <blockquote>
- Links: <a>
- Inline elements: <span> <br> <code>
- Text styling: <em> <strong> <b> <i>Lists: <ul> <ol> <li>
- Tables: <table> <caption> <thead> <tfoot> <tbody> <colgroup> <col> <tr> <th> <td>
- Lines: <hr>
- Links: <a>
- Images: <img> <map> <area>
- Color: <span style="color:xxx">
Examples
Method description with XHTML formatting.
The following example shows a TranslatedText element with both plain text and an enhanced presentation with a limited number of HTML tags.
Example | ||||||
---|---|---|---|---|---|---|
| ||||||
| ||||||
No Format | ||||||
<Description>
<TranslatedText xml:lang="en" type="text/plain">Study Day Derivation
Study day (ADY) is derived differently for events occurring:
Before the first dose date.
On or after the first dose date.
When the event date (ADT) is before the first dose date (TRTSDT):
ADY = ADT - TRTSTDT.
When the event date (ADT) is on or after the first dose date (TRTSDT):
ADY = ADT - TRTSTDT + 1.
</TranslatedText>
<TranslatedText xml:lang="en" type="application/xhtml+xml">
<div xmlns="https://www.w3.org/1999/xhtml/">
<h3>Study Day Derivation</h3>
<p><strong>Study day</strong> (ADY) is derived differently for events occurring:</p>
<ol>
<li>Before the first dose date.</li>
<li>On or after the first dose date.</li>
</ol>
<p>When the event date (<em>ADT</em>) is before the first dose date (<em>TRTSDT</em>):</p>
<p><code>ADY = ADT - TRTSTDT.</code></p>
<p>When the event date (<em>ADT</em>) is on or after the first dose date (<em>TRTSDT</em>):</p>
<p><code>ADY = ADT - TRTSTDT + 1.</code></p>
</div>
</TranslatedText>
</Description> |
Pagenav |
---|