<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    BlogJava 聯(lián)系 聚合 管理  

    Blog Stats

    隨筆檔案

    exams


    java世界

    世界Java

    數(shù)據(jù)排序模版
    <?xml version="1.0" encoding="gb2312" ?>
    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:output method="html" />
    <xsl:param name="queryParam" select="''''" />
    <xsl:template match="/guestbook">
    <table border="0">
    <tbody>
    <tr>
    <td>
    <table width="400" border="0">
    <tbody>
    <xsl:apply-templates select="article">
    <xsl:sort select="datadate" order="descending" />
    </xsl:apply-templates>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    </xsl:template>
    <!--文章列表模版:-->
    <xsl:template match="article">
    <xsl:choose>
    <xsl:when test="position() mod 2 = 1">
    <tr bgcolor="#cccccc">
    <th align="left" width="50">作者</th>
    <th align="left" width="50">
    <xsl:value-of select="author" />
    </th>
    <th align="left" width="100">發(fā)表時(shí)間</th>
    <th align="left" width="50">
    <xsl:value-of select="datadate" />
    </th>
    </tr>
    <tr bgcolor="#cccccc">
    <td colspan="4">
    <xsl:value-of select="content" />
    </td>
    </tr>
    </xsl:when>
    <xsl:otherwise>
    <tr>
    HP0-X02 1Y0-327 
    <th align="left" width="50">作者</th>
    <th align="left" width="50">
    <xsl:value-of select="author" />
    </th>
    <th align="left" width="100">發(fā)表時(shí)間</th>
    <th align="left" width="50">
    <xsl:value-of select="datadate" />
    </th>
    </tr>
    <tr>
    <td colspan="4">
    <xsl:value-of select="content" />
    </td>
    </tr>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    </xsl:stylesheet>

    數(shù)據(jù)文件
    <?xml version="1.0" encoding="gb2312"?>
    <guestbook>
    <article id="73a7a287-aef6-4d35-ac2c-638ca3233be6">
    <author>guest</author>
    <datadate>20060812</datadate>
    <content>asdfsad</content>
    </article>
    <article id="84957008-4cb4-4c96-bafa-775dd33e10cf">
    <author>guest</author>
    <datadate>20060812</datadate>
    <content>fffff</content>
    </article>
    <article id="91426bb3-3bbf-4176-be66-c92cb79bb171">
    <author>guest</author>
    <datadate>20060812</datadate>
    <content>fffff</content>
    </article>
    <article id="8e3bda3f-7d6e-4ae3-af0a-740a884cbf06">
    <author>guest</author>
    <datadate>20060812</datadate>
    <content>asdf</content>
    </article>
    <article id="d6528172-cd03-4333-bb42-0121effca2ff">
    <author>guest</author>
    <datadate>20060812</datadate>
    <content>asdf</content>
    </article>
    <article id="cd30a893-f0aa-44be-b56b-32a1aa44717a">
    <author>guest</author>
    <datadate>20060812</datadate>
    <content>asdf</content>
    </article>
    <article id="b47ca7e6-93e0-4992-97fa-78ea557b0252">
    <author>guest</author>
    <datadate>20060812</datadate>
    <content>asdf</content>
    </article>
    <article id="2070cb5d-e225-46f5-95ca-3dea33f9d42f">
    <author>guest</author>
    <datadate>20060812</datadate>
    <content>aa</content>
    </article>
    </guestbook>

     
    posted on 2007-11-01 17:38 java2java 閱讀(889) 評(píng)論(0)  編輯  收藏

    只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 最近2019中文字幕免费大全5 | **毛片免费观看久久精品| 亚洲中文字幕无码久久| 久久久久久亚洲精品中文字幕| 免费h成人黄漫画嘿咻破解版| av无码久久久久不卡免费网站| a级黄色毛片免费播放视频| 在线亚洲精品视频| 最新国产精品亚洲| 亚洲国产成人91精品| 亚洲AV无码乱码国产麻豆 | 一级做a爱过程免费视| 亚洲AV香蕉一区区二区三区| 亚洲一本之道高清乱码| 亚洲综合无码一区二区三区| 亚洲AV电影院在线观看| 国产亚洲一区二区三区在线观看| 亚洲高清偷拍一区二区三区 | 在线播放国产不卡免费视频| 久久无码av亚洲精品色午夜| 亚洲色大情网站www| 亚洲综合欧美色五月俺也去| 亚洲国产一区在线观看| 亚洲欧洲日本国产| 亚洲国产一区在线观看| 亚洲一卡二卡三卡| 亚洲综合精品第一页| 亚洲人成网站18禁止| 亚洲精品国产suv一区88| 亚洲人成色77777在线观看| 亚洲av色香蕉一区二区三区蜜桃| 亚洲欧美日韩国产精品一区| 亚洲高清一区二区三区电影| 亚洲av日韩精品久久久久久a| 亚洲AV无码国产剧情| 天堂亚洲免费视频| 国产一区二区三区免费| 日韩内射激情视频在线播放免费 | 亚洲好看的理论片电影| 亚洲酒色1314狠狠做| 亚洲黄页网在线观看|