xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor