IDOL View Component 24.2

# Section a Document

If a document that you want to index contains more than 500 words, divide it into sections to make it more manageable for the IDOL Content component. If you want to index XML rather than IDX, you do not need to section your data because Content automatically applies sectioning to it.

Declare a separate document for each section that you split the original document into. Give each section a `#DRESECTION` number.

If you divide a document into sections:

- You must name the first section `#DRESECTION 0`.

- You must put the section numbers in numerical order.

- You must put the content of each section into the `#DRECONTENT` field.

- You must make each `#DRECONTENT` no more than 500 words long.

- You must give each section the same DRE field values, except for the `#DRESECTION` number and the `#DRECONTENT`.

## Example Text File

The following IDX file example shows a document that has been divided into sections:

    #DREREFERENCE 392348A0
    #DREFIELD authorname1="Brown"
    #DREFIELD authorname2="Edgar"
    #DREFIELD title="Dr."
    #DREDATE 1998/08/06
    #DRETITLE
    Jurassic Molecules
    #DRESECTION 0
    #DRECONTENT
    Scientists announced last week the successful reproduction of a possible precursor to all life on Earth. The molecules consist of a part of DNA and the molecular "scissors" responsible for destroying messenger RNA in humans.
    Using a technique called test tube evolution, scientists created a nucleic acid enzyme, the first known enzyme that uses an amino acid to start chemical activity. Scientists hope that the creation of this molecule will lead to the elusive precursor. The precursor, by definition, will have to contain both the genetic code for replication and an enzyme to trigger self replication.
    At this point, no naturally occurring hybrid enzymes have been found. Scientists speculate that such enzymes may exist in nature and most certainly existed in Earth's early history.
    #DRETYPE text
    #DREDBNAME Science
    #DRESTORECONTENT y
    #DREENDDOC
    #DREREFERENCE 392348A0
    #DREFIELD authorname1="Brown"
    #DREFIELD authorname2="Edgar"
    #DREFIELD title="Dr."
    #DREDATE 1998/08/06
    #DRETITLE
    Jurassic Molecules
    #DRESECTION 1
    #DRECONTENT
    Scientists have known for some time that the key ingredients for life are DNA, RNA, and proteins. An interesting chicken-egg dilemma has developed: which came first, RNA, DNA, or proteins? Many believe that a replicating RNA molecule is the likely precursor to all life on Earth.
    RNA serves as both a genetic molecule and an enzyme in the body, which scientists believe strongly suggests the likelihood of an RNA precursor to all life. They speculate that RNA was first, followed by DNA, the much more stable of the two. It would serve as an efficient storehouse for the genetic code. Proteins, better catalysts than RNA, likely evolved later as well. At some point, the current three-based system developed from the initial one-based system of RNA.
    Scientists hope that these scissors molecules may also have practical uses in medicine, since the molecules can efficiently shred specific DNA. Theoretically, it may be possible to tailor such a molecule to attack and shred harmful DNA from pathogenic organisms. These molecules could be made to be activated only in specific circumstances.
    #DRETYPE text
    #DREDBNAME Science
    #DRESTORECONTENT y
    #DREENDDOC

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL IDOL View Component 24.2

Topic Title: Section a Document