小弟刚接触xsl,找到了一个xsl分页的例子,但是不知道怎样改xsl才是我的xml的效果,请各位朋友帮忙看看,谢谢!
我的xml:
<?xml version= "1.0 " encoding= "UTF-8 "?>
<rss version= "2.0 ">
<channel>
<generator> NFE/1.0 </generator>
<link> http://news.google.com/news?q=%E5%A5%A5%E8%BF%90%E5%9C%A3%E7%81%AB&hl=zh-CN&lr=&nxpt=20.946262443952854650275&ie=UTF-8&oe=UTF-8&um=1&tab=wn </link>
<description> 奥运圣火 - Google 资讯 </description>
<language> zh-CN </language>
<webMaster> news-feedback@google.com </webMaster>
<copyright> &copy;2007 Google </copyright>
<pubDate> Fri, 27 Apr 2007 06:52:36 GMT </pubDate>
<lastBuildDate> Fri, 27 Apr 2007 06:52:36 GMT </lastBuildDate>
<image>
<title> 奥运圣火 - Google 资讯 </title>
<url> http://news.google.com/intl/zh-CN_cn/images/news_res.gif </url>
<link> http://news.google.com/ </link>
</image>
<item>
<title> 北京奥运圣火明年5月登顶珠峰 - 新浪网 </title>
<link> http://news.google.com/news/url?sa=T&ct=cn/0-0&fd=R&url=http://news.sina.com.cn/o/2007-04-27/124911728474s.shtml&cid=1112826555&ei=s50xRviLNaGMqQP3_YDzBQ </link>
<guid isPermaLink= "false "> tag:news.google.com,2005:cluster=425462bb </guid>
<pubDate> Fri, 27 Apr 2007 04:52:00 GMT </pubDate>
<description> <br><table border=0 width= valign=top cellpadding=2 cellspacing=7><tr><td width=80 align=center valign=top><a href= "http://news.google.com/news/url?sa=T&ct=cn/0i-0&fd=R&url=http://2008.sports.tom.com/2007-04-26/0C4P/46353773.html&cid=1112826555&ei=s50xRviLNaGMqQP3_YDzBQ "><img src=http://news.google.com/news?imgefp=4-6pVeIgCcMJ&imgurl=2008.sports.tom.com/uimg/2007/4/26/wuzhongyan/1177591953343_43216.jpg width=79 height=52 alt= " " border=1><br><font size=-2>TOM</font></a></td><td valign=top class=j><a href= "http://news.google.com/news/url?sa=T&ct=cn/0-0&fd=R&url=http://news.sina.com.cn/o/2007-04-27/124911728474s.shtml&cid=1112826555&ei=s50xRviLNaGMqQP3_YDzBQ " target=_blank>北京<font color=#CC0033>奥运圣火</font>明年5月登顶珠峰</a><br><font size=-1><font color=#6f6f6f>新浪网&nbsp;-</font> &am