[xsl] Approach for wrapping elements

Subject: [xsl] Approach for wrapping elements
From: "Dave Pratt" <PrattDa@xxxxxxxxxxxxxxx>
Date: Tue, 7 Jan 2003 13:24:16 -0600
I have a document that is of this form:

<para>Paragraph text</para>
<listitem>1st item</listitem>
<listitem>2nd item</listitem>
<listitem>3rd item</listitem>
<para>More text</para>

The elements above or below the listitems may be different. A list may also appear more than once in a document. Can anyone provide a method for wrapping listitems as a group with <itemizedlist> to produce this result?

<para>Paragraph text</para>
<itemizedlist>
<listitem>1st item</listitem>
<listitem>2nd item</listitem>
<listitem>3rd item</listitem>
</itemizedlist>
<para>More text</para>

Thank you.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread