Great, much better. Still if the list item that precededes 3rd level UL contains other tags (B, FONT, etc) it looses them (I also got a similar result within my previous attempts). I added a template to process other tags and tried to change your last template to process LI content...
Thanks, I already tried something like this; I think a bit simpler, but it does not give the result I expect. It only gets UL content. Here is what I get using your code:
<li>bull1.1</li>
<li>here goes level 3
<li>bull1.2.1</li>
</li>
<li>bull1.2</li>
This is not really right -- list item with...
Hi folks, I need to use XSLT to do a few modifications to HTML when document gets saved. It all goes fine, except I got stuck on one requirement. The indent level of bulleted list may not be more than 2. So I have embedded lists:
<ul>
<li>bull0</li>
<li>bull1
<ul>
<li>bull1.1</li>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.