以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 XSL/XSLT/XSL-FO/CSS 』  (http://bbs.xml.org.cn/list.asp?boardid=8)
----  [求助]关于xsl样式表中使用数组的问题,请大家帮助  (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=14291)


--  作者:hyl_fr
--  发布时间:2/5/2005 11:10:00 AM

--  [求助]关于xsl样式表中使用数组的问题,请大家帮助

我的xml文件如下:
<?xml version="1.0" encoding="GB2312"?>
<workbook>
  <Row>
    <Cell>
      <Data code="351982086164" Type="String">351982086164</Data>
    </Cell>
    <Cell>
      <Data shorten="AAA" Type="String">AAA</Data>
    </Cell>
    <Cell>
      <Data name="x1" Type="String">x1</Data>
    </Cell>
  </Row>
  <Row>
    <Cell>
      <Data code="351982086165" Type="String">351982086165</Data>
    </Cell>
    <Cell>
      <Data shorten="BBB" Type="String">BBB</Data>
    </Cell>
    <Cell>
      <Data name="x2" Type="String">x2</Data>
    </Cell>
  </Row>
</workbook>

如果我想取data的值并将他们放到一个数组中,请教大家如何在xsl中实现,还有,在xsl中能不能处理这个数组,谢谢


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
46.875ms