<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">
    <xsl:output encoding="iso-8859-1"/>
    <xsl:template name="yield_main"
                  match="/">
        <html>
            <SCRIPT language="JavaScript"
                    type="text/javascript"
                    src="/scripts/triggerParams.js"/>
            <SCRIPT language="JavaScript"
                    type="text/javascript"
                    src="/scripts/stdLauncher.js"/>
            <SCRIPT language="JavaScript"
                    type="text/javascript">Poll();</SCRIPT>
            <head>
                <link href="/main.css"
                      rel="stylesheet"
                      type="text/css"
                      rev="stylesheet"/>
                <title>U.S. Treasury - Daily Treasury Yield Curve</title>
                <script language="JavaScript"
                        type="text/javascript"
                        src="/popup.js"></script>
            </head>
            <body>
                <table align="center"
                       width="700"
                       cellspacing="0"
                       cellpadding="0"
                       border="0">
                    <tr>
                        <td width="700"
                            valign="top"
                            bgcolor="#2F6588">
                            <table align="center"
                                   width="700"
                                   cellspacing="0"
                                   cellpadding="0"
                                   border="0">
                                <tr bgcolor="#2F6588">
                                    <td height="25"
                                        colspan="3"
                                        align="center"
                                        valign="middle">
                                        <NOINDEX>
                                            <xsl:comment>#include virtual="/include/topnav.shtml"</xsl:comment>
                                        </NOINDEX>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="3">
                                        <img width="700"
                                             height="69"
                                             src="/offices/domestic-finance/debt-management/images/banner-interest-rate-short.gif"
                                             alt="Interest Rate Statistics"/>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="3"
                                        bgcolor="#FFFFFF">
                                        <span class="smaller">&#160;</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="28"
                                        bgcolor="#FFFFFF">
                                        <img src="/images/layout/spacer.gif"
                                             width="28"
                                             height="1"
                                             border="0"
                                             alt=" " />
                                    </td>
                                    <td width="640"
                                        height="300"
                                        valign="top"
                                        bgcolor="#FFFFFF">
                                        <a name="content"></a>

                                        <table width="100%"
                                               border="0"
                                               cellspacing="0"
                                               cellpadding="0"
                                               align="left"
                                               class="titlehr"
                                               valign="top">
                                            <tr>
                                                <td width="28"
                                                    valign="top">
                                                    <img src="/images/layout/spacer.gif"
                                                         width="28"
                                                         height="1"
                                                         border="0"
                                                         alt=" "/>
                                                </td>
                                                <td width="470"
                                                    align="left"
                                                    valign="middle"
                                                    class="titlehr">
                                                    <h1>Daily Treasury Yield Curve Rates</h1>
                                                    <p>
                                                        <!-- START GovDelivery Code  -->
                                                        <!--PAGEWATCH CODE="USTREAS_10_20061107_132745_en" -->
                                                        <img src="/images/assets/envelope.jpeg"
                                                             alt="Icon: Envelope"
                                                             width="21"
                                                             height="14"
                                                             border="0"/>&#160;
                                                        <a href="http://service.govdelivery.com/service/subscribe.html?code=USTREAS_10"
                                                           onClick="window.open(this.href,'popup','width=725,height=500,left=25,top=25,location=no,resizable=yes,scrollbars=yes,status=yes');return false;"
                                                           target="_blank"
                                                           title="Get e-mail updates when this information changes.">Get e-mail updates when this information changes.</a>
                                                    </p>


                                                    <hr/>
                                                    <div align="right">
                                                        <a href= "/offices/domestic-finance/debt-management/interest-rate/yield_historical_main.shtml">Historical Data</a>
                                                    </div>
                                                    <div align="left">
                                                        <a href= "yield.xml">
                                                            <img src="/images/assets/xml.gif"
                                                                 alt="Icon: XML Document"
                                                                 width="36"
                                                                 height="14"
                                                                 border="0"/>
                                                        </a>&#160;&#160;<span class="smaller">This data is also available in XML format by clicking on the XML icon</span>
                                                    </div>
                                                    <br/>
                                                    <span align="left"
                                                          class="textheader">
                                                        <xsl:choose>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'JAN'">January</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'FEB'">February</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'MAR'">March</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'APR'">April</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'MAY'">May</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'JUN'">June</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'JUL'">July</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'AUG'">August</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'SEP'">September</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'OCT'">October</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'NOV'">November</xsl:when>
                                                            <xsl:when test="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,4,3) = 'DEC'">December</xsl:when>
                                                            <xsl:otherwise/>
                                                        </xsl:choose>&#160;20<xsl:value-of select="substring(QR_BC_CM/LIST_G_WEEK_OF_MONTH/G_WEEK_OF_MONTH/LIST_G_NEW_DATE/G_NEW_DATE/BID_CURVE_DATE,8,3)"/>
                                                    </span>
                                                    <br/>
                                                    <table border="0"
                                                           cellpadding="3"
                                                           cellspacing="2"
                                                           width="450"
                                                           bgcolor="#FFFFFF">
                                                        <tr>
                                                            <th class="smaller"
                                                                width="70"
                                                                id="1">
                                                                <span class="textheader">Date</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="2">
                                                                <span class="textheader">1 mo</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="3">
                                                                <span class="textheader">3 mo</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="4">
                                                                <span class="textheader">6 mo</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="5">
                                                                <span class="textheader">1 yr</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="6">
                                                                <span class="textheader">2 yr</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="7">
                                                                <span class="textheader">3 yr</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="8">
                                                                <span class="textheader">5 yr</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="9">
                                                                <span class="textheader">7 yr</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="10">
                                                                <span class="textheader">10 yr</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="11">
                                                                <span class="textheader">20 yr</span>
                                                            </th>
                                                            <th class="smaller"
                                                                width="35"
                                                                id="12">
                                                                <span class="textheader">30 yr</span>
                                                            </th>
                                                        </tr>
                                                        <xsl:apply-templates select="//G_NEW_DATE"/>
                                                    </table>
                                                    <!--THE CONTENT OF WEBPAGE COMES BEFORE THIS TAG -->
                                                    <!--/PAGEWATCH-->
                                                    <!-- END GovDelivery Code -->
                                                    <p>
                                                        * 30-year Treasury constant maturity series was discontinued on February 18, 2002 and
                                                        reintroduced on February 9, 2006.  From February 18, 2002 to February 8, 2006, Treasury
                                                        published alternatives to a 30-year rate.  See Long-Term Average Rate for more information.
                                                    </p>
                                                    <p>
                                                        Treasury discontinued the 20-year constant maturity series at the end of calendar year 1986
                                                        and reinstated that series on October 1, 1993.  As a result, there are no 20-year rates
                                                        available for the time period January 1, 1987 through September 30, 1993.
                                                    </p>
                                                    <p>
                                                        Treasury Yield Curve Rates. These rates are commonly referred to as &quot;Constant Maturity Treasury&quot; rates, or CMTs. Yields
                                                        are interpolated by the Treasury from the daily yield curve. This curve, which relates the yield on a security to its time to maturity
                                                        is based on the closing market bid yields on actively traded Treasury securities in the over-the-counter market. These market yields are
                                                        calculated from composites of quotations obtained by the Federal Reserve Bank of New York. The yield values are read from the yield
                                                        curve at fixed maturities, currently 1, 3 and 6 months and 1, 2, 3, 5, 7, 10, 20, and 30 years. This method provides a yield for a 10
                                                        year maturity, for example, even if no outstanding security has exactly 10 years remaining to maturity.
                                                    </p>
                                                    <p>
                                                        Treasury Yield Curve Methodology. The Treasury yield curve is estimated daily using a cubic spline model. Inputs to the model are primarily
                                                        bid-side yields for on-the-run Treasury securities. See our <a href="yieldmethod.html">Treasury Yield Curve Methodology</a> page for details.
                                                    </p>
                                                    <p>
                                                        Negative Yields and Nominal Constant Maturity Treasury Series Rates (CMTs). Current financial market conditions, in conjunction with extraordinary
                                                        low levels of interest rates, have resulted in negative yields for some Treasury securities trading in the secondary market.  Negative yields for
                                                        Treasury securities most often reflect highly technical factors in Treasury markets related to the cash and repurchase agreement markets, and are at
                                                        times unrelated to the time value of money.
                                                    </p>
                                                    <p>
                                                        As such, Treasury will restrict the use of negative input yields for securities used in deriving interest rates for the Treasury nominal Constant
                                                        Maturity Treasury series (CMTs).  Any CMT input points with negative yields will be reset to zero percent prior to use as inputs in the CMT derivation.
                                                        This decision is consistent with Treasury not accepting negative yields in Treasury nominal security auctions.
                                                    </p>
                                                    <p>
                                                        In addition, given that CMTs are used in many statutorily and regulatory determined loan and credit programs as well as for setting interest rates on
                                                        non-marketable government securities, establishing a floor of zero more accurately reflects borrowing costs related to various programs.
                                                    </p>
                                                    <p>
                                                        For more information regarding these statistics contact the Office of Debt Management by email at debt.management@do.treas.gov.
                                                    </p>
                                                    <p>
                                                        For other Public Debt information contact (202) 504-3550.<br/>
                                                    </p>
                                                    <p>
                                                        <a href="Interest_Rate_Yield.xsl"
                                                           target="_blank"
                                                           type="text/plain">
                                                            <img src="/images/assets/xsl.gif"
                                                                 alt="Icon: XSL Document"
                                                                 width="18"
                                                                 height="18"
                                                                 border="0"/>
                                                        </a>
                                                        <span class="smaller">This document was generated from the XML data using the XSL transformation.  Click on the XSL icon to view the XSL file.</span>
                                                    </p>
                                                    <br/>
                                                    <br/>
                                                </td>
                                                <td width="130"
                                                    valign="top">
                                                    <br/>
                                                    <hr/>
                                                    <xsl:comment>#include virtual="/offices/domestic-finance/include/left-nav-lev6.shtml"</xsl:comment>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </body>
        </html>
    </xsl:template>

    <xsl:template name="yield_content"
                  match="G_NEW_DATE">
        <xsl:if test="LIST_G_BC_CAT/G_BC_CAT/BOND_MKT_UNAVAIL = ''">
            <tr>
                <td class="smaller"
                    headers="1">
                    <xsl:value-of select="substring(translate(NEW_DATE,'-','/'),1,6)"/>
                    <xsl:value-of select="substring(NEW_DATE,9,2)"/>
                </td>
                <td class="smaller"
                    headers="2">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_1MONTH, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="3">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_3MONTH, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="4">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_6MONTH, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="5">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_1YEAR, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="6">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_2YEAR, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="7">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_3YEAR, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="8">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_5YEAR, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="9">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_7YEAR, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="10">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_10YEAR, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="11">
                    <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_20YEAR, '#0.00')"/>
                </td>
                <td class="smaller"
                    headers="12">
                    <xsl:choose>
                        <xsl:when test="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_30YEAR, '#0.00')='NaN'">N/A</xsl:when>
                        <xsl:otherwise>
                            <xsl:value-of select="format-number(LIST_G_BC_CAT/G_BC_CAT/BC_30YEAR, '#0.00')"/>
                        </xsl:otherwise>
                    </xsl:choose>
                </td>
            </tr>
        </xsl:if>
    </xsl:template>
</xsl:stylesheet>
