xslt和EXCEL的问题! 好早以前搞过,现在忘了,我用的好象是<TD><TR>不是用<Cell>的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 然后你给<TD><TR>写CSS,把线画出来! 你可以参考以下<?xml version="1.0" encoding="gb2312" ?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"> <xsl:template match="/"> <Workbook> <Worksheet> <Table> <Row> <Cell ss:Type="String" ss:Horizontal="Center"><xsl:apply-templates select="//lzf"/>山西省电力公司</Cell> </Row> </Table> <Table> <Row> <Cell ss:Type="String">第一列</Cell> <Cell ss:Type="String">第二列</Cell> <Cell ss:Type="String">第三列</Cell> </Row> </Table> <xsl:apply-templates select="//temp"/> </Worksheet> </Workbook> </xsl:template> 可参照http://msdn.microsoft.com/library/en-us/dnexcl2k2/html/odc_xmlss.asp?FRAME=true#odc_xmlss_ss:border设置样式 孟子大哥给个例子吧!我是从DATASET里把数据取出,直接用的DATASET数据的XML(ds.GetXml()),得到的数据不能按行列分开! czy412你有没有好的例子,给个让看看!主要是数据提取时,都在一个单元格里! 在线等,多线程求助 C# _的意思 给个答案 WebRequest如何判断接连正确? 谁有模拟改答题卡的系统的源码,有的给我发下 C#里面有没有类似Delphi中Abort方法的功能? xml 格式控制问题,高手来解决一些阿 大家一定会喜欢的 几个XML的问题 请问在c#中如何实现无标题栏的窗口? 关于身份认证机制的超初级问题 c#新手,简单紧急问题,快来回答!
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
<xsl:template match="/">
<Workbook>
<Worksheet>
<Table>
<Row>
<Cell ss:Type="String" ss:Horizontal="Center"><xsl:apply-templates select="//lzf"/>山西省电力公司</Cell>
</Row>
</Table>
<Table>
<Row>
<Cell ss:Type="String">第一列</Cell>
<Cell ss:Type="String">第二列</Cell>
<Cell ss:Type="String">第三列</Cell>
</Row>
</Table>
<xsl:apply-templates select="//temp"/>
</Worksheet>
</Workbook>
</xsl:template>
http://msdn.microsoft.com/library/en-us/dnexcl2k2/html/odc_xmlss.asp?FRAME=true#odc_xmlss_ss:border
设置样式
主要是数据提取时,都在一个单元格里!