[xsl] element to root

Subject: [xsl] element to root
From: jpk <jopaki@xxxxxxxxx>
Date: Tue, 31 May 2005 09:39:18 -0700 (PDT)
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@xxxxxxxxx


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

Current Thread