当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 刚开始学网页制作,需要做一个带浮动广告的页面 于是我在网上找了一段浮动窗口的代码,页面打开时浮动窗口可以出来,但是网页只要一上下滚动,浮动窗口就看不见了,应该怎么办? 代码如下: <script for=window event=onload language="jscript"> initad();//载入页面后,调用函数initad() </scr......
 ·怎样处理这个错误呢    »显示摘要«
    摘要: 我在上机用turbo c编写c程序后,在编译时总有这么一条出错信息:unable to creat output file e:noname.obj.什么地方出错了呢,我该怎么去解决呢?谢谢! ......


应该是很简单问题--关于xsl,xml

a.xml   内容如下:  
   
    <!--  
     
  -->  
  <?xml   version=1.0   encoding=gb2312?>  
  <?xml-stylesheet   type=text/xsl   href=list.xsl?>  
   
  <xml>  
  <itemid   id=2206>  
  <noid>1</noid>  
  <lclass>C931</lclass>  
  <ktime>2004.14</ktime>  
  <issn>1006-5784</issn>  
  <cn>11-1743/G2</cn>  
  </itemid>  
   
  <itemid   id=2207>  
  <noid>4</noid>  
  <lclass>C931</lclass>  
  <ktime>2004.03</ktime>  
  <issn>1005-9458</issn>  
  <cn>41-1216/G2</cn>  
  </itemid>  
   
  <itemid   id=2208>  
  <noid>5</noid>  
  <lclass>C931</lclass>  
  <ktime>2004.03</ktime>  
  <issn>1003-2053</issn>  
  <cn>11-1805/G3</cn>  
  </itemid>  
   
  </xml>  
   
  list.xsl内容如下:  
  <?xml   version="1.0"   encoding="gb2312"   ?>  
  <xsl:stylesheet   xmlns:xsl="http://www.w3.org/Tr/wd-xsl"   >    
  <body>  
  <table   width="100%"   border="1">  
      <tr>    
          <td   width="5%"><div   align="center">序号</div></td>  
          <td   width="45%"><div   align="center">文章名称</div></td>  
          <td   width="21%"><div   align="center">作者</div></td>  
          <td   width="15%"><div   align="center">刊物名称</div></td>  
          <td   width="14%"><div   align="center">日期</div></td>  
      </tr>  
      <xsl:template   match="/">  
      <xsl:for-each   select="xml">  
      <tr>    
          <td><xsl:value-of   select="noid"   />    
  </td>  
          <td>  
  </td>  
          <td><xsl:value-of   select="issn"   />    
  </td>  
          <td><xsl:value-of   select="cn"   />    
  </td>  
          <td><xsl:value-of   select="ktime"   />    
  </td>  
      </tr>  
      </xsl:for-each>  
      </xsl:template>  
  </table>  
  </body>  
  </xsl:stylesheet>  
  _________________________________________________  
   
  请教为什么不能显示出指定的数据

NO.1   作者: sunball

<xsl:for-each   select="xml">  
  改为  
  <xsl:for-each   select="xml/itemid">  
 


    摘要: 我让我的程序使用ado控件联接到局域网上比如ip为192.168.1.126的机器上的d盘数据库文件夹里的名为数据的数据库啊。请各位高手帮忙了 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE