This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

selection problem in mixed-content


 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]