selection problem in mixed-content

Subject: selection problem in mixed-content
From: Richard Lander <rlander@xxxxxxxxxxxxx>
Date: Mon, 23 Oct 2000 11:22:43 -0700
 Hello,

I'm having trouble grabbing some content. Its somewhat ugly (mixed-content),
but I'd like to make it work if possible.

Here's the text:

<P><B>text text </B> text text  text text <B>text text </B> text text
<UL>
    <LI>
    text text
    </LI>
    <LI>
    text text
    </LI>
    <LI>
    text text
    </LI>
</UL>
text text <B>text text </B> text text  text text <B>text text </B> text
text</P>

My prefered outcome is:

<P><B>text text </B> text text  text text <B>text text </B> text text</P>
<UL>
    <LI>
    text text
    </LI>
    <LI>
    text text
    </LI>
    <LI>
    text text
    </LI>
</UL>
<P>text text <B>text text </B> text text  text text <B>text text </B> text
text</P>

My best output yet is:

<P><B>text text </B> text text  text text <B>text text </B> text text</P>
<P>text text <B>text text </B> text text  text text <B>text text </B> text
text</P>
<UL>
    <LI>
    text text
    </LI>
    <LI>
    text text
    </LI>
    <LI>
    text text
    </LI>
</UL>


Any suggestions?
I can get the production staff to wrap the floating text after UL in a P,
which is my current plan, but I thought I'd through the mixed-content
problem the masses first ...

Rich


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


Current Thread