[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Mixed content, separation


Subject: [xsl] Mixed content, separation
From: davep@xxxxxxxxxxxxx
Date: Wed, 29 Feb 2012 08:37:24 -0000

given
<p> text1 <i>italic</i>
<ul>
...
</ul>
text 2</p>
or
<p> text1 <i>italic</i>
<dl>
...
</dl>
text 2</p>

How can I produce

<p> text1 <i>italic</i></p>
<ul>
...
</ul>
<p>text 2 (any other inlines)</p>

I.e. isolate the block elements...

nasty side:
   I'm unsure of the list of inline elements!

any suggestions appreciated.

Dave


Current Thread