当前位置:编程学习 > C#/ASP.NET >>

如何从下面的xhtml代码中把贴吧通过xsl的配置,用vs2003C#,最后把贴吧保存在xml文件中,谢谢!

<html>
  <BODY text="#000000" vLink="#0000cc" aLink="#ff6600" link="#0000cc">
    <DIV id="usrbar">
      <SCRIPT language="JavaScript"><![CDATA[ocument.write('<a href="http://passport.baidu.com/?login&tpl=mn&u='+escape(location.href)+'">登录</a>);]]></SCRIPT>
      <A href="http://passport.baidu.com/?login&tpl=mn&u=http%3A//www.baidu.com/">登录</A>
    </DIV>
    <CENTER>
      <A href="http://hi.baidu.com/baidu" target="_blank">
        <IMG height="59" alt="点此进入 百度空间" src="http://www.baidu.com/img/logo.gif" width="174" />
      </A>
      <BR />
      <BR />
      <BR />
      <BR />
      <TABLE id="l" cellSpacing="0" cellPadding="0" border="0">
        <TBODY>
          <TR>
            <TD>
              <DIV>
                <A onclick="return s(this);" href="http://news.baidu.com">新 闻</A>    <STRONG>网 页</STRONG>    <A onclick="return s(this,1);" href="http://post.baidu.com/f?ct=486539264&cm=58580&tn=baiduForumIndex">贴 吧</A>    <A onclick="return s(this);" href="http://zhidao.baidu.com">知 道</A>    <A onclick="return s(this);" href="http://mp3.baidu.com">MP3</A>    <A onclick="return s(this);" href="http://image.baidu.com">图 片</A></DIV>
            </TD>
          </TR>
        </TBODY>
      </TABLE>
      <TABLE cellSpacing="0" cellPadding="0" width="600" border="0">
        <TBODY>
          <TR vAlign="top">
            <TD width="92">
            </TD>
            <TD height="62">
              <FORM name="f" action="http://www.baidu.com/s">
                <INPUT class="kw" maxLength="100" size="36" name="wd" />
                <SCRIPT><![CDATA[ocument.f.wd.focus();g()]]></SCRIPT>
                <INPUT type="hidden" value="3" name="cl" />
                <INPUT class="sb" type="submit" value="百度搜索" />
                <BR />
                <BR />
              </FORM>
            </TD>
            <TD width="100">
              <A href="/search/jiqiao.html">帮助</A>
              <BR />
              <A href="/gaoji/advanced.html">高级</A>
            </TD>
          </TR>
        </TBODY>
      </TABLE>
      <P id="km"> <A href="http://hi.baidu.com/">空间</A> | <A href="http://www.baidu.com/more/">更多>></A></P>
      <P style="HEIGHT: 60px"> </P>
      <P style="HEIGHT: 30px">
        <A onclick="h(this,'http://www.baidu.com')" href="http://utility.baidu.com/traf/click.php?id=215&url=http://www.baidu.com">把百度设为首页</A>
      </P>
      <P style="HEIGHT: 14px">
        <A href="http://jingjia.baidu.com/">企业推广</A> | <A href="http://top.baidu.com/">搜索风云榜</A> | <A href="/home.html">关于百度</A> | <A href="http://ir.baidu.com">About Baidu</A></P>
      <P id="b">©2007 Baidu <A href="http://www.baidu.com/duty/">使用百度前必读</A><A href="http://www.miibeian.gov.cn/" target="_blank">京ICP证030173号</A><A href="http://www.hd315.gov.cn/beian/view.asp?bianhao=010202001092500412"><IMG src="http://gimg.baidu.com/img/gs.gif" /></A></P>
    </CENTER>
  </BODY>
</html>
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,