xsl-list
[Top] [All Lists]

element to root

2005-05-31 09:39:18
Hi all,

I am still struggling with having to convert:

------
<p>
  <span style="style a">
    span a text 1
    <span style="style b">
      span b pre br text
      <br name="b"/>
      span b post br text
    </span>
    span a text 2
  </span>
</p>
------

TO:

------
<p>
  <span style="style a">
    span a text 1
    <span style="style b">
      span b pre br text
    </span>
  </span>
  <span style="style a"/>
  <br name="b"/>
  <span style="style a">
    <span style="style b">
      span b post br text
    </span>
    span a text 2
  </span>
</p>
------

I need to move all 'br' elements to the root yet
maintain the integrity of all the existing textual
styling.

Any ideas would be appreciated.  Thanks!

Jon
jopaki(_at_)yahoo(_dot_)com


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/

--~------------------------------------------------------------------
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>
--~--



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