How to remove some tags without removing the content in xslt and pass entire content XML as input to another template
===

I am working on XSLT.
                
Source XML:

               <?xml version="1.0" encoding="iso-8859-1"?>
                <Content>
                  <alertHeader>


                    <ol xmlns="http://www.w3.org/1999/xhtml">
                      <li>
                        <strong>Review</strong>
                        your current available balance. It can be obtained 24 hours a day, 7 days a week through
                        <a href="/ACCOUNT_ACTIVITY_INBOX_URL">Account Activity</a>
                        any Wells Fargo ATM or by calling
                        <a id="dynamicvariable" href="#" name="Call_Center_Name">[Call_Center_Name]</a>
                        at
                        <a id="dynamicvariable" href="#" name="Phone_Number">[Phone_Number]</a>
                        .
                      </li>
                      <li>
                        <strong>Take into account</strong>


                        <ul>
                          <li>Your pending transactions and any additional transactions that have not yet been deducted from your available balance, such as checks you have written or upcoming scheduled automatic payments.</li>
                          <li>Any transactions that have been returned because you did not have enough money in your account at that time; they may be resubmitted for payment by the person or party who received the payment from you</li>
                        </ul>


                      </li>
                      <li>
                        <strong>Deposit</strong>
                        enough money to establish and maintain a positive account balance. A deposit of at least
                        <a id="dynamicvariable" href="#" name="Absolute_Available_Balance">[Absolute_Available_Balance]</a>
                        ,plus
                        <a id="dynamicvariable" href="#" name="Total_Fee">[Total_Fee]</a>
                        in fees, would have been required to make your account balance positive at the time we sent this notice.
                      </li>
                    </ol>
                    <p xmlns="http://www.w3.org/1999/xhtml"></p>
                    <div xmlns="http://www.w3.org/1999/xshtml"></div>
                    <span xmlns="http://www.w3.org/1999/xshtml"></span>



                  </alertHeader>
                </Content>


I want to write a XSLT to pass entire content in the tag alertHeader as value to another template. 

I want to modify this code as follows.


                       1.Remove the tags   <p></p>, and <div></div>,<span></span> and <a></a>. I want to remove only tags but not the value of the tags. It should be there as it is.
                       2.Pass the content including tags to "Process" template.


Output required:

              <aaa>
                <text>

                <ol xmlns="http://www.w3.org/1999/xhtml">
                  <li>
                    <strong>Review</strong>
                    your current available balance. It can be obtained 24 hours a day, 7 days a week through
     
                    any Wells Fargo ATM or by calling
                    <dynamicvariable name="Call_Center_Name"/>
     
                    at
                    <dynamicvariable name="Phone_Number"/>
      
                    .
                  </li>
                  <li>
                    <strong>Take into account</strong>


                    <ul>
                      <li>Your pending transactions and any additional transactions that have not yet been deducted from your available balance, such as checks you have written or upcoming scheduled automatic payments.</li>
                      <li>Any transactions that have been returned because you did not have enough money in your account at that time; they may be resubmitted for payment by the person or party who received the payment from you</li>
                    </ul>


                  </li>
                  <li>
                    <strong>Deposit</strong>
                    enough money to establish and maintain a positive account balance. A deposit of at least
                    in fees, would have been required to make your account balance positive at the time we sent this notice.
                  </li>
                </ol>
                </text>
              </aaa>

current XSLT:

                  <?xml version="1.0" encoding="utf-8"?>
                  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
                    <xsl:output method="xml" indent="yes"/>


                    <xsl:template match="alertHeader">
                      <xsl:call-template name="process">

                        <xsl:with-param name="text" select="." />


                      </xsl:call-template>

                    </xsl:template>
                    <xsl:template name="process">
                      <xsl:param name="text" />

                      <xsl:variable name="head" select="substring-before($text, '[')" />
                      <xsl:variable name="tag" select="substring-before(substring-after($text, '['), ']')" />
                      <xsl:variable name="tail" select="substring-after($text, ']')" />

                      <xsl:choose>
                        <xsl:when test="$head != '' and $tag != ''">
                          <xsl:value-of select="$head" />
                          <dynamicVariable name="{$tag}" />
                          <!-- recursive step: process the remainder of the string -->
                          <xsl:call-template name="process">
                            <xsl:with-param name="text" select="$tail" />
                          </xsl:call-template>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:value-of select="$text" />
                        </xsl:otherwise>
                      </xsl:choose>
                    </xsl:template>

                  </xsl:stylesheet>


Can any one say what all the changes required for my code.

Thanks.