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. |
List Examples
List Label | Paragraph Style (and Example) | XML |
---|---|---|
Ordered Lists | ||
Arabic numerals | ListNum1*
| <ordered-list type="arabic"> |
Arabic numerals | ListNum1 Evid*
| <ordered-list type="arabic"> |
Roman numeral (lower) | ListNum1 i. Letter to Client | <ordered-list type="roman-lower"> |
Roman numeral (upper) | ListNum1 I. Letter to Client | <ordered-list type="roman-upper"> |
Lowercase letters | ListNum1 a. Letter to Client | <ordered-list type="alpha-lower"> |
Uppercase letters | ListNum1 A. Letter to Client | <ordered-list type="alpha-upper"> |
Uppercase letters | ListNumUpperCase A. Letter to Client | <ordered-list type="alpha-upper"> |
Unordered Lists | ||
Bullets | BulletList
| <unordered-list type="bull"> |
Checklist | BulletList ❐ Letter to Client | <unordered-list type="checklist"> |
Unnumbered | UnorderedList Letter to Client | <unordered-list type="checklist"> |
*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 | ||
---|---|---|
| ||
|
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 | ||
---|---|---|
| ||
<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 |
---|
Image Added |
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 |
---|
Image Added |
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. |