xsl-list
[Top] [All Lists]

Re: [xsl] Mixed content, separation

2012-02-29 03:11:58
On 29 February 2012 08:37,  <davep(_at_)dpawson(_dot_)co(_dot_)uk> wrote:
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.

You can use the follow sibling variation of the identity transform.


-- 
Andrew Welch
http://andrewjwelch.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--