- Created by Jenny Seifert (Unlicensed) , last modified on Jun 04, 2019
You are viewing an old version of this content. View the current version.
Compare with Current View Version History
« Previous Version 3 Next »
Example 1: Multilevel Labeled List
In eXtyles STS a group of contiguous list paragraphs will be exported as a single XML list. Nested lists should be styled carefully to ensure that the nesting is reflected in the paragraph styles used. The following example shows a properly styled multilevel labeled list.
Word Sample
XML Sample
Note that the level-1 list L1 is not closed when the first of the level-2 list starts.
<sec id="sec_5.2.2"><label>5.2.2</label> <p>The fundamental system configuration decisions and major components for a post-combustion NOx treatment system include the following.</p> <list id="L1" list-type="alpha-lower"> <list-item><label>a)</label><p>Type of post-combustion NOx treatment:</p> <list id="L2" list-type="order"> <list-item><label>1)</label><p>SNCR;</p></list-item> <list-item><label>2)</label><p>SCR; or</p></list-item> <list-item><label>3)</label><p>combination of SNCR and SC.</p></list-item></list> </list-item> <list-item><label>b)</label><p>Type of Ammonia or Urea Flow Control Unit (AFCU):</p></list-item> <list-item><label>c)</label><p>SNCR with one of the following reactant and carrier streams:</p> <list id="L3" list-type="order"> <list-item><label>1)</label><p>aqueous ammonia based with one of the following reactant charge methods:</p> <list id="L4" list-type="roman-lower"> <list-item><label>i)</label><p>mixed with a heated air stream in an ammonia vaporizer/mixer, or directly vaporized in a once through vaporizer before mixing with one of the following carriers:</p> <list id="L5" list-type="roman-upper"> <list-item><label>I)</label><p>air, or</p></list-item> <list-item><label>II)</label><p>steam.</p></list-item></list> </list-item></list> </list-item> <list-item><label>2)</label><p>anhydrous ammonia based with the following reactant charge method:</p> <list id="L6" list-type="roman-lower"> <list-item><label>i)</label><p>vapor mixed directly with one of the following carriers:</p> <list id="L7" list-type="roman-upper"> <list-item><label>I)</label><p>air, or</p></list-item> <list-item><label>II)</label><p>steam.</p></list-item></list> </list-item> <list-item><label>ii)</label><p>urea based with the following reactant charge method:</p></list-item></list> </list-item></list> </list-item></list> ...
Example 2: Unlabeled List and List Title
The following example shows the proper styling of an unlabaled (or, unnumbered) list that is introduced by a list title. Although List Title is applied to the title of these lists, a heading or numbered paragraph style (e.g., Head 1 or P2) should be applied to the numbered heading of the list, as appropriate.
Word Sample
XML Sample
<list id="L9" list-type="simple"> <title>Type A - For panel mounted toggle switches and circuit breakers.</title> <list-item><p>Style 1 - One-hole mounting, enclosed.</p></list-item> <list-item><p>Style 3 - One-hole mounting, through.</p></list-item> <list-item><p>Style 4 - Three-hole mounting, through.</p></list-item> <list-item><p>Style 6 - One-hole mounting, miniature, enclosed.</p></list-item> <list-item><p>Style 7 - One-hole mounting, subminiature, enclosed.</p></list-item> <list-item><p>Style 8 - One-hole mounting, subminiature, through.</p></list-item> <list-item><p>Style 9 - Five-hole mounting, through.</p></list-item> <list-item><p>Style 10 - Panel bushing seal only.</p></list-item></list> <list id="L10" list-type="simple"> <title>Type B - For bushing mounted pushbutton switches.</title> <list-item><p>Style 1 - One-hole mounting adapter type.</p></list-item> <list-item><p>Style 2 - One-hole mounting drilled panel.</p></list-item> <list-item><p>Style 3 - One-hole mounting through.</p></list-item> <list-item><p>Style 4 - One-hole mounting miniature, drilled panel.</p></list-item> <list-item><p>Style 5 - Three-hole mounting (for telephone handset switches).</p></list-item></list>
Example 3: Term and Definition List Item
The following example shows the proper styling of a term and definition list—in this example, an Abbreviations list.
Word Sample
XML Sample
Note how the use of tabs in the Word document between the term and definition enable eXtyles to parse the <term> from the <definition> in the XML. Other such separators include periods, colons, em dashes, and bold formatting of the term.
<sec id="sec_3.2"> <label>3.2</label><title>Abbreviations</title> <p>For the purposes of this document, the following abbreviations apply.</p> <def-list> <def-item><term>AP</term><def><p>annular preventer</p></def></def-item> <def-item><term>ATR</term><def><p>above tension ring</p></def></def-item> <def-item><term>BHA</term><def><p>bottom-hole assembly</p></def></def-item> <def-item><term>BHP</term><def><p>bottom-hole pressure</p></def></def-item> <def-item><term>BLAT</term><def><p>BOP landing and assist tool</p></def></def-item> <def-item><term>BOP</term><def><p>blowout preventer</p></def></def-item> <def-item><term>BTR</term><def><p>below tension ring</p></def></def-item> <def-item><term>DP </term><def><p>dynamic positioned</p></def></def-item> <def-item><term>ECD</term><def><p>equivalent circulating density</p></def></def-item> <def-item><term>FIT </term><def><p>formation integrity test</p></def></def-item> <def-item><term>GFP</term><def><p>gas-free pressure</p></def></def-item> <def-item><term>HPU </term><def><p>high-pressure unit</p></def></def-item> <def-item><term>HSSE</term><def><p>health, safety, security, and environment</p></def></def-item> <def-item><term>ID</term><def><p>inner diameter</p></def></def-item> <def-item><term>LAM</term><def><p>light annular mud</p></def></def-item> <def-item><term>LCM</term><def><p>lost circulation material</p></def></def-item> <def-item><term>LMRP</term><def><p>lower marine riser package</p></def></def-item> <def-item><term>LOT</term><def><p>leak-off test</p></def></def-item> <def-item><term>LPR</term><def><p>lower pipe ram</p></def></def-item> <def-item><term>LWD</term><def><p>logging while drilling</p></def></def-item> <def-item><term>MPD</term><def><p>managed pressure drilling</p></def></def-item> <def-item><term>MPR</term><def><p>middle pipe ram</p></def></def-item> </def-list> </sec>
- No labels
Add Comment