xsl-list
[Top] [All Lists]

Transfer a subelement to top

2003-12-13 12:25:30
Hi,

I have an HTML structure like this:

<p>
    some text
    <table>
     ...
    </table>
    some text
</p>

How can i cut the embedding <p>-Tag into three parts, before and after the
table tag, so that i get this:

<p>
  some text
</p>
<table>
...
</table>
<p>
  some text
</p>


It would also be ok, if the table tag is embedded by <p>.  In an imperative
language i would know the way to go, but how to do it in XSL?

Regards,
Marc

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>