This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
selection problem in mixed-content
- To: "'Xsl-List (E-mail)" <xsl-list at mulberrytech dot com>
- Subject: selection problem in mixed-content
- From: Richard Lander <rlander at microsoft dot com>
- Date: Mon, 23 Oct 2000 11:22:43 -0700
- Reply-To: xsl-list at mulberrytech dot com
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