新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> XML与各种文件格式的相互转换及相关工具。 word to xml, xml to word, html to xml, xml to pdf,
    csv to xml, rtf to xml, text to xml, xml to text, xls to xml, xml to xls
    FOP
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - XML技术『 WORD to XML, HTML to XML 』 → [求助]特殊xml to excel 寻求帮助... 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 12061 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: [求助]特殊xml to excel 寻求帮助... 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     czl923 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:1
      积分:52
      门派:XML.ORG.CN
      注册:2011/8/19

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给czl923发送一个短消息 把czl923加入好友 查看czl923的个人资料 搜索czl923在『 WORD to XML, HTML to XML 』的所有贴子 引用回复这个贴子 回复这个贴子 查看czl923的博客楼主
    发贴心情 [求助]特殊xml to excel 寻求帮助...


    如下文件是由owc控件自动生成的,想转成excel文件

    纠结了很长时间,求思路!!!

    <?xml version="1.0"?>
    <ss:Workbook xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
    xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet">
    <x:ExcelWorkbook>
      <x:ProtectStructure>False</x:ProtectStructure>
      <x:ActiveSheet>0</x:ActiveSheet>
    </x:ExcelWorkbook>
    <ss:Styles>
      <ss:Style ss:ID="Default">
      <ss:Alignment ss:Horizontal="Automatic" ss:Rotate="0.0" ss:Vertical="Bottom"
      ss:ReadingOrder="Context"/>
      <ss:Borders>
      </ss:Borders>
      <ss:Font ss:FontName="宋体" ss:Size="11" ss:Color="Automatic" ss:Bold="0"
      ss:Italic="0" ss:Underline="None"/>
      <ss:Interior ss:Color="Automatic" ss:Pattern="None"/>
      <ss:NumberFormat ss:Format="General"/>
      <ss:Protection ss:Protected="1"/>
      </ss:Style>
      <ss:Style ss:ID="wc0DDCDC0000000000">
      <ss:Alignment ss:Vertical="Center"/>
      <ss:Font ss:FontName="宋体" ss:Size="9"/>
      <ss:Interior/>
      </ss:Style>
      <ss:Style ss:ID="wc0DDC060000000000">
      <ss:Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
      <ss:Borders>
      <ss:Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      </ss:Borders>
      <ss:Font ss:FontName="宋体" ss:Size="9"/>
      <ss:Interior/>
      </ss:Style>
      <ss:Style ss:ID="wc0DDC070000000000">
      <ss:Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
      <ss:Borders>
      <ss:Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      </ss:Borders>
      <ss:Font ss:FontName="宋体" ss:Size="9"/>
      <ss:Interior/>
      </ss:Style>
      <ss:Style ss:ID="wc0DDC080000000000">
      <ss:Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
      <ss:Borders>
      <ss:Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      </ss:Borders>
      <ss:Font ss:FontName="宋体" ss:Size="9"/>
      <ss:Interior/>
      </ss:Style>
      <ss:Style ss:ID="wc0DDC090000000000">
      <ss:Alignment ss:Vertical="Center"/>
      <ss:Borders>
      <ss:Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      </ss:Borders>
      <ss:Font ss:FontName="宋体" ss:Size="9"/>
      <ss:Interior/>
      </ss:Style>
      <ss:Style ss:ID="wc0DDC0A0000000000">
      <ss:Alignment ss:Vertical="Center"/>
      <ss:Borders>
      <ss:Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      </ss:Borders>
      <ss:Font ss:FontName="宋体" ss:Size="9"/>
      <ss:Interior/>
      </ss:Style>
      <ss:Style ss:ID="wc0DDC0B0000000000">
      <ss:Alignment ss:Vertical="Center"/>
      <ss:Borders>
      <ss:Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      <ss:Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1.0"/>
      </ss:Borders>
      <ss:Font ss:FontName="宋体" ss:Size="9"/>
      <ss:Interior/>
      </ss:Style>
      <ss:Style ss:ID="wc0D8C9B0000000000">
      <ss:Alignment ss:Horizontal="Center" ss:Vertical="Top"/>
      <ss:Font ss:FontName="宋体" ss:Size="11"/>
      <ss:Interior/>
      </ss:Style>
      <ss:Style ss:ID="mc0DDCD9000DDCDB00">
      <ss:Alignment ss:Horizontal="Right" ss:Vertical="Center"/>
      <ss:Font ss:FontName="宋体" ss:Size="9"/>
      <ss:Interior/>
      </ss:Style>
      <ss:Style ss:ID="mc0DDC48000DDCD800">
      <ss:Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
      <ss:Font ss:FontName="宋体" ss:Size="18"/>
      <ss:Interior/>
      </ss:Style>
    </ss:Styles>
    <c:ComponentOptions>
      <c:Label>
      <c:Caption>Microsoft Office Spreadsheet</c:Caption>
      </c:Label>
      <c:MaxHeight>80%</c:MaxHeight>
      <c:MaxWidth>80%</c:MaxWidth>
      <c:NextSheetNumber>2</c:NextSheetNumber>
    </c:ComponentOptions>
    <x:WorkbookOptions>
      <c:OWCVersion>12.0.0.4518 </c:OWCVersion>
    </x:WorkbookOptions>
    <ss:Worksheet ss:Name="D002">
      <x:WorksheetOptions>
      <x:Selected/>
      <x:DoNotDisplayGridlines/>
      <x:ViewableRange>R1:R65536</x:ViewableRange>
      <x:Selection>R1C1:R1C3</x:Selection>
      <x:TopRowVisible>0</x:TopRowVisible>
      <x:LeftColumnVisible>0</x:LeftColumnVisible>
      <x:ProtectContents>False</x:ProtectContents>
      </x:WorksheetOptions>
      <c:WorksheetOptions>
      </c:WorksheetOptions>
      <ss:Table ss:ExpandedColumnCount="3" ss:ExpandedRowCount="8"
      ss:DefaultColumnWidth="54.0" ss:DefaultRowHeight="12.75">
      <ss:Column ss:Width="53.25"/>
      <ss:Column ss:Span="1" ss:Width="66.75"/>
      <ss:Row ss:Height="35.25" ss:AutoFitHeight="0">
      <ss:Cell ss:MergeAcross="2" ss:StyleID="mc0DDC48000DDCD800">
      <ss:Data ss:Type="String">计算机行业调查表</ss:Data>
      </ss:Cell>
      </ss:Row>
      <ss:Row ss:Height="15.75" ss:AutoFitHeight="0">
      <ss:Cell ss:MergeAcross="2" ss:StyleID="mc0DDCD9000DDCDB00">
      <ss:Data ss:Type="String">表 号:D002</ss:Data>
      </ss:Cell>
      </ss:Row>
      <ss:Row ss:Height="15.75" ss:AutoFitHeight="0">
      <ss:Cell ss:MergeAcross="2" ss:StyleID="mc0DDCD9000DDCDB00">
      <ss:Data ss:Type="String">制表机关:国 家 统 计 局</ss:Data>
      </ss:Cell>
      </ss:Row>
      <ss:Row ss:Height="15.75" ss:AutoFitHeight="0">
      <ss:Cell ss:MergeAcross="2" ss:StyleID="mc0DDCD9000DDCDB00">
      <ss:Data ss:Type="String">文号:国统字</ss:Data>
      </ss:Cell>
      </ss:Row>
      <ss:Row ss:Height="15.75" ss:AutoFitHeight="0">
      <ss:Cell ss:StyleID="wc0DDCDC0000000000">
      <ss:Data ss:Type="String">单位名称:</ss:Data>
      </ss:Cell>
      <ss:Cell ss:StyleID="wc0DDCDC0000000000"/>
      <ss:Cell ss:StyleID="wc0DDCDC0000000000">
      <ss:Data ss:Type="String">计量单位:</ss:Data>
      </ss:Cell>
      </ss:Row>
      <ss:Row ss:Height="15.75" ss:AutoFitHeight="0" ss:StyleID="wc0D8C9B0000000000">
      <ss:Cell ss:StyleID="wc0DDC060000000000">
      <ss:Data ss:Type="String">序号</ss:Data>
      </ss:Cell>
      <ss:Cell ss:StyleID="wc0DDC070000000000">
      <ss:Data ss:Type="String">本年本月止累计</ss:Data>
      </ss:Cell>
      <ss:Cell ss:StyleID="wc0DDC080000000000">
      <ss:Data ss:Type="String">去年同月止累计</ss:Data>
      </ss:Cell>
      </ss:Row>
      <ss:Row ss:Height="15.75" ss:AutoFitHeight="0">
      <ss:Cell ss:StyleID="wc0DDC090000000000">
      <ss:Data ss:Type="String"> </ss:Data>
      </ss:Cell>
      <ss:Cell ss:StyleID="wc0DDC0A0000000000">
      <ss:Data ss:Type="String"> </ss:Data>
      </ss:Cell>
      <ss:Cell ss:StyleID="wc0DDC0B0000000000">
      <ss:Data ss:Type="String"> </ss:Data>
      </ss:Cell>
      </ss:Row>
      <ss:Row ss:Height="15.75" ss:AutoFitHeight="0">
      <ss:Cell ss:StyleID="wc0DDCDC0000000000">
      <ss:Data ss:Type="String">单位负责人:</ss:Data>
      </ss:Cell>
      <ss:Cell ss:StyleID="wc0DDCDC0000000000">
      <ss:Data ss:Type="String">填报日期:</ss:Data>
      </ss:Cell>
      <ss:Cell ss:StyleID="wc0DDCDC0000000000">
      <ss:Data ss:Type="String">填表人:</ss:Data>
      </ss:Cell>
      </ss:Row>
      </ss:Table>
    </ss:Worksheet>
    </ss:Workbook>


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2011/8/19 15:15:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 WORD to XML, HTML to XML 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2022/9/30 20:25:23

    本主题贴数1,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    62.500ms