z/OS ISPF Dialog Tag Language Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Nesting tags within lists

z/OS ISPF Dialog Tag Language Guide and Reference
SC19-3620-00

The format of your lists isn't confined to only list items. You can also nest other tags within the list items. For example, if a list item requires an additional paragraph, you can nest a P tag following the list item.

This markup contains an ordered list with a paragraph nested within the second list item.
<!doctype dm system>
<panel name=winshop3 width=52>Window Shopper
  <area>
    <info width=50>
      <p>After you have placed your order with Window Shopper, you should...
      <ol>
        <li>Press the Enter key to leave the Order Panel.
        <li>Go to the receiving desk located at the front of the store.
          <p>Don't forget to bring your receipt!
        <li>Give the cashier the pink copy of your receipt.
        <li>Take your purchases home, and enjoy!
      </ol>
    </info>
  </area>
</panel>

The paragraph text follows the indentation of the preceding list item, like this:

Figure 1. Nested paragraph within a list
                   Window Shopper

 After you have placed your order with Window
 Shopper, you should...

 1.  Press the Enter key to leave the Order Panel.

 2.  Go to the receiving desk located at the front
     of the store.

     Don't forget to bring your receipt!

 3.  Give the cashier the pink copy of your
     receipt.

 4.  Take your purchases home, and enjoy!





 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014