Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The eXtyles list XML export behavior automatically generates the correct list type attributes for many common lists. Based on the label that is used in the list, eXtyles can automatically populate the list type in the XML. The following table describes the specific list types (both ordered and unordered) and the resulting XML.

Note

The list paragraph styles in Word are not formatted with Word’s auto-number/auto-bullet feature.



Panel
bgColor#b5b8bc

Back to the List Tab



List Examples

List LabelParagraph Style (and Example)XML

Ordered Lists

Arabic numerals

ListNum1*

  1. Letter to Client 
  2. Letter to Client’s Unrepresented Spouse 
  3. Authorization to Hire Professionals
<ordered-list type="arabic">
  <list-item>
    <para style="last-para" type="flush">
Arabic numerals

ListNum1 Evid*

  1. Letter to Client 
  2. Letter to Client’s Unrepresented Spouse 
  3. Authorization to Hire Professionals
<ordered-list type="arabic">
  <list-item>
    <para style="last-para" type="flush">
Roman numeral (lower)

ListNum1

i. Letter to Client 
ii. Letter to Client’s Unrepresented Spouse 
iii. Authorization to Hire Professionals

<ordered-list type="roman-lower">
  <list-item>
    <para style="last-para" type="flush">
Roman numeral (upper)

ListNum1

I. Letter to Client 
II. Letter to Client’s Unrepresented Spouse 
III. Authorization to Hire Professionals

<ordered-list type="roman-upper">
  <list-item>
    <para style="last-para" type="flush">
Lowercase letters

ListNum1

a. Letter to Client 
b. Letter to Client’s Unrepresented Spouse 
c. Authorization to Hire Professionals

<ordered-list type="alpha-lower">
  <list-item>
    <para style="last-para" type="flush">
Uppercase letters

ListNum1

A. Letter to Client 
B. Letter to Client’s Unrepresented Spouse 
C. Authorization to Hire Professionals

<ordered-list type="alpha-upper">
  <list-item>
    <para style="last-para" type="flush">
Uppercase letters

ListNumUpperCase

A. Letter to Client 
B. Letter to Client’s Unrepresented Spouse 
C. Authorization to Hire Professionals

<ordered-list type="alpha-upper">
  <list-item>
    <para style="last-para" type="flush">
Unordered Lists
Bullets

BulletList

  • Letter to Client 
  • Letter to Client’s Unrepresented Spouse 
  • Authorization to Hire Professionals
<unordered-list type="bull">
  <list-item>
    <para style="last-para" type="flush">
Checklist

BulletList

❐ Letter to Client 
❐ Letter to Client’s Unrepresented Spouse 
❐ Authorization to Hire Professionals

<unordered-list type="checklist">
  <list-item>
    <para style="last-para" type="flush">
Unnumbered

UnorderedList

Letter to Client 
Letter to Client’s Unrepresented Spouse 
Authorization to Hire Professionals

<unordered-list type="checklist">
  <list-item>
    <para style="last-para" type="flush">

*The only difference between ListNum1 and ListNum1 Evid is that the Evidence list style is formatted as a smaller font in the Word document. The XML output is the same for both.


Panel
titleOn This Page

Table of Contents


Nested (sub)List Items

When a list has subitems, the Numbered List 2 paragraph style should be used. For example,

Panel

Produces the following XML. Note that the ListNum2 items are correctly nested inside the first list item.

Code Block
languagexml
<ordered-list type="arabic">
  <list-item>
    <para style="last-para" type="flush">Letter to Client Regarding Negotiating Settlement with Unrepresented Spouse (Form 8.5)</para>
<ordered-list type="alpha-lower2">
      <list-item>
        <para style="last-para" type="flush">Regarding Negotiating Settlement</para>
      </list-item>
      <list-item>
        <para style="last-para" type="flush">with Unrepresented Spouse (Form 8.5)</para>
      </list-item>
</ordered-list>
  </list-item>
  <list-item>
    <para style="last-para" type="flush">Letter to Client’s Unrepresented Spouse Regarding Negotiating Settlement (Form 8.6)</para>
  </list-item>
  <list-item>
    <para style="last-para" type="flush">Authorization to Hire Professionals (Form 7.3)</para>
  </list-item>
</ordered-list>

As with ListNum1, eXtyles will automatically populate the list type for ListNum2 based on the list label in the Word document (e.g., in the previous example, alpha-lower2).



Admon in List Styles

Occasionally, an Admon note may be part of a list item; that is, the Admon note should be contained within the list item in the XML. To achieve this, Admon in Level-1 List and Admon in Level-2 List paragraph styles should be used. Note that the Admon1 paragraph style is what is applied when the Admon in Level-1 List button on the style palette is selected. 

Panel

The following XML is produced from this Word sample:

Code Block
<list-item>
    <para style="last-para" type="flush">Ensure that the designated individual (a) takes notes of all things the CSHO notes; . . .</para>
    <admon type="Note"><para admontype="last" type="flush">An employer always should have available a camera, loaded with film, and a video camera, with a tape, in case of an OSHA inspection.</para>
    </admon>
</list-item>

Note that the <admon> is correctly wrapped within the <list-item>.

If an Admon note is part of a second-level list item, the Admon in Level-2 List paragraph style should be used. Note that the Admon2 paragraph style is what is applied when the Admon in Level-2 List button on the style palette is selected

Panel

The following XML is produced from this Word sample:

Code Block
<list-item>
    <para style="last-para" type="flush">Ensure that the designated individual </para>
    <ordered-list type="alpha-lower2">
      . . .
    <list-item>
        <para style="last-para" type="flush">performs monitoring at the same times and places . . .</para>      
        <admon type="Note">
        <para admontype="last" type="flush">An employer always should have available a camera, loaded with film,  . . .</para>
        </admon>
    </list-item>
    </ordered-list>
</list-item>

Note that the <admon> in this example is correctly wrapped within the <ordered-list> sublist item.

Note

The Admon (10 pt) in Level-1 List and the Admon (10 pt) in Level-2 List produce the same XML output. Their only difference from the other Admon in list styles is that they are formatted 10 pt in the Word document.


Tip

For information about the other Admon paragraph styles see the Body Style Examples.