xsl-list
[Top] [All Lists]

Converting WordML to a XHTML list

2004-08-23 16:00:00
I have the following WordML that I wish to turn into a XHTML list. I can get
the <li>'s but having trouble wrapping them in <ul>...</ul>.
NOTE: <w:p> may or may not contain a list

...
<w:p>
        <w:pPr>
                <w:listPr>
                        <w:ilvl w:val="0"/>
                        <w:ilfo w:val="11"/>
                        <wx:t wx:val="1." wx:wTabBefore="360"
wx:wTabAfter="210"/>
                        <wx:font wx:val="Times New Roman"/>
                </w:listPr>
        </w:pPr>
        <w:r>
                <w:t>item 1</w:t>
        </w:r>
</w:p>
<w:p>
        <w:pPr>
                <w:listPr>
                        <w:ilvl w:val="0"/>
                        <w:ilfo w:val="11"/>
                        <wx:t wx:val="2." wx:wTabBefore="360"
wx:wTabAfter="210"/>
                        <wx:font wx:val="Times New Roman"/>
                </w:listPr>
        </w:pPr>
        <w:r>
                <w:t>item 2</w:t>
        </w:r>
</w:p>
<w:p>
        <w:pPr>
                <w:listPr>
                        <w:ilvl w:val="0"/>
                        <w:ilfo w:val="11"/>
                        <wx:t wx:val="3." wx:wTabBefore="360"
wx:wTabAfter="210"/>
                        <wx:font wx:val="Times New Roman"/>
                </w:listPr>
        </w:pPr>
        <w:r>
                <w:t>item 3</w:t>
        </w:r>
</w:p>
...


Any clues?


TIA
Linc