News Products Support Download Licenses Company

Home > Products > upCast > Samples

 

Samples

Don't believe us.
See for yourself.

Overview Features Samples Download Support


Download free demo


Buy

Headings & Section Nesting

Section nesting is automatically performed based on headings in the document. See how the generated numbering is marked up with <gentext /> elements of type "headingnumberstring" so you can replace the numbering on output with a newly generated one, yet you can retain the original numbering for reference.

<section level="1">
  <heading class="heading&#160;1" level="1"><gentext type="headingnumberstring">1) </gentext>Pipfruit</heading>
  <par class="Normal">Apple</par>
  <par class="Normal">Pear</par>
  <par class="Normal">Quince</par>
</section>
<section level="1">
  <heading class="heading&#160;1" level="1"><gentext type="headingnumberstring">2) </gentext>Stonefruit</heading>
  <par class="Normal">Peach</par>
  <par class="Normal">Plume</par>
  <par class="Normal">Apricot</par>
</section>
<section level="1">
  <heading class="heading&#160;1" level="1"><gentext type="headingnumberstring">3) </gentext>Citrus</heading>
  <par class="Normal">Citron</par>
  <par class="Normal">Orange</par>
  <par class="Normal">Mandarin</par>
</section>

Download .rtf source   Download .xml source

Hyperlinks using XLink

Hyperlinks are marked up using XLink attributes on the <link /> element.

<par class="Normal">Apples, pears, and quinces are
<link xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest" xlink:href="http://www.pipfruits.org/"><inline class="Hyperlink">pipfruits</inline></link>.</par>

Download .rtf source   Download .xml source

Nested Lists

This sample shows how nested lists are translated into a hierarchical structure in XML.

<list>
  <item>
    <par class="Normal">Pipfruit</par>
    <list>
      <item>
        <par class="Normal">Apple</par></item>
      <item>
        <par class="Normal">Pear</par></item>
      <item>
        <par class="Normal">Quince</par></item>
    </list></item>
  <item>
    <par class="Normal">Stonefruit</par>
    <list>
      <item>
        <par class="Normal">Peach</par></item>
      <item>
        <par class="Normal">Plume</par></item>
      <item>
        <par class="Normal">Apricot</par></item>
    </list></item>
  <item>
    <par class="Normal">Citrus</par>
    <list>
      <item>
        <par class="Normal">Citron</par></item>
      <item>
        <par class="Normal">Orange</par></item>
      <item>
        <par class="Normal">Mandarin</par></item>
    </list></item>
</list>

Download .rtf source   Download .xml source

Paragraph / Inline combination

A simple paragraph with markup of a term using a specific character style.

<par class="Normal"><inline class="term">Pipfruit</inline>: apple, pear, quince</par>
<par class="Normal"><inline class="term">Stonefruit</inline>: peach, plume, apricot</par>
<par class="Normal"><inline class="term">Citrus</inline>: citron, orange, mandarin</par>

Download .rtf source   Download .xml source

Table

A table with an explicit header row and a row spanning cell.

<html:table>
  <html:thead>
    <html:tr>
      <html:td>
        <par class="Normal">Shape</par>
      </html:td>
      <html:td>
        <par class="Normal">Points</par>
      </html:td>
    </html:tr>
  </html:thead>
  <html:tbody>
    <html:tr>
      <html:td>
        <par class="Normal">triangle</par>
      </html:td>
      <html:td>
        <par class="Normal">3</par>
      </html:td>
    </html:tr>
    <html:tr>
      <html:td>
        <par class="Normal">rectangle</par>
      </html:td>
      <html:td rowspan="2">
        <par class="Normal">4</par>
      </html:td>
    </html:tr>
    <html:tr>
      <html:td>
        <par class="Normal">square</par>
      </html:td>
    </html:tr>
  </html:tbody>
</html:table>

Download .rtf source   Download .xml source

upCast Screenshot

This screenshot shows the main window, partially covered by the XML (upCast DTD) export filter configuration window.

© 2003-2007 infinity-loop GmbHSend mail to WebmasterAnbieterkennzeichnung §6 TDG