基于openpyxl的excel转换工具。支持xlsx文件转换为erlang,elixir,lua,json,xml,python等配置文件
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

243 lines
7.8 KiB

<?xml version="1.0" ?>
<cfg_array_example2>
<item index="0">
<attr>
<item index="0">
<item index="0" type="int64">1</item>
<item index="1" type="int64">700</item>
</item>
<item index="1">
<item index="0" type="int64">2</item>
<item index="1" type="int64">800</item>
</item>
<item index="2">
<item index="0" type="int64">3</item>
<item index="1" type="int64">900</item>
</item>
<item index="3">
<add>
<item index="0" type="int64">4</item>
<item index="1" type="int64">100</item>
</add>
</item>
</attr>
<award1>
<item index="0" type="int64">1</item>
<item index="1" type="int64">2</item>
<item index="2" type="int64">3</item>
</award1>
<award2>
<id type="int64">1</id>
<num type="int64">3</num>
<type type="int64">2</type>
</award2>
<desc>
<item index="0" type="string">来源1</item>
<item index="1" type="string">来源2</item>
<item index="2" type="string">来源4</item>
</desc>
<id type="number">1</id>
<material>
<item index="0">
<count type="int64">1</count>
<id type="int64">10001</id>
<res type="int64">1</res>
</item>
<item index="1">
<count type="int64">1</count>
<id type="int64">10001</id>
<res type="int64">1</res>
</item>
</material>
<name type="string">examp1001</name>
</item>
<item index="1">
<attr>
<item index="0">
<item index="0" type="int64">1</item>
<item index="1" type="int64">700</item>
</item>
<item index="1">
<item index="0" type="int64">2</item>
<item index="1" type="int64">800</item>
</item>
<item index="2">
<item index="0" type="int64">3</item>
<item index="1" type="int64">901</item>
</item>
<item index="3">
<add>
<item index="0" type="int64">5</item>
<item index="1" type="int64">100</item>
</add>
</item>
</attr>
<award1>
<item index="0" type="int64">1</item>
<item index="1" type="int64">2</item>
<item index="2" type="int64">3</item>
</award1>
<award2>
<id type="int64">1</id>
<num type="int64">3</num>
<type type="int64">2</type>
</award2>
<desc>
<item index="0" type="string">来源1</item>
<item index="1" type="string">来源2</item>
<item index="2" type="string">来源4</item>
</desc>
<id type="number">2</id>
<material>
<count type="int64">1</count>
<id type="int64">10001</id>
<res type="int64">1</res>
</material>
<name type="string">examp1002</name>
</item>
<item index="2">
<attr>
<item index="0">
<item index="0" type="int64">1</item>
<item index="1" type="int64">700</item>
</item>
<item index="1">
<item index="0" type="int64">2</item>
<item index="1" type="int64">800</item>
</item>
<item index="2">
<item index="0" type="int64">3</item>
<item index="1" type="int64">902</item>
</item>
<item index="3">
<add>
<item index="0" type="int64">6</item>
<item index="1" type="int64">100</item>
</add>
</item>
</attr>
<award1>
<item index="0" type="int64">1</item>
<item index="1" type="int64">2</item>
<item index="2" type="int64">3</item>
</award1>
<award2>
<id type="int64">1</id>
<num type="int64">3</num>
<type type="int64">2</type>
</award2>
<desc>
<item index="0" type="string">来源1</item>
<item index="1" type="string">来源2</item>
<item index="2" type="string">来源5</item>
</desc>
<id type="number">3</id>
<material>
<item index="0" type="int64">1</item>
<item index="1" type="int64">2</item>
<item index="2" type="int64">3</item>
<item index="3" type="int64">4</item>
<item index="4" type="int64">5</item>
<item index="5" type="int64">6</item>
<item index="6" type="int64">7</item>
<item index="7" type="int64">8</item>
<item index="8" type="int64">9</item>
<item index="9" type="int64">9</item>
<item index="10" type="int64">9</item>
<item index="11" type="int64">9</item>
<item index="12" type="int64">9</item>
<item index="13" type="int64">9</item>
<item index="14" type="int64">9</item>
<item index="15" type="int64">9</item>
<item index="16" type="int64">9</item>
<item index="17" type="int64">9</item>
</material>
<name type="string">examp1003</name>
</item>
<item index="3">
<attr>
<item index="0">
<item index="0" type="int64">1</item>
<item index="1" type="int64">700</item>
</item>
<item index="1">
<item index="0" type="int64">2</item>
<item index="1" type="int64">800</item>
</item>
<item index="2">
<item index="0" type="int64">3</item>
<item index="1" type="int64">903</item>
</item>
<item index="3">
<add>
<item index="0" type="int64">7</item>
<item index="1" type="int64">100</item>
</add>
</item>
</attr>
<award1>
<item index="0" type="int64">1</item>
<item index="1" type="int64">2</item>
<item index="2" type="int64">3</item>
</award1>
<award2>
<id type="int64">1</id>
<num type="int64">3</num>
<type type="int64">2</type>
</award2>
<desc>
<item index="0" type="string">来源1</item>
<item index="1" type="string">来源2</item>
<item index="2" type="string">来源6</item>
</desc>
<id type="number">4</id>
<material>
<item index="0" type="string">测试数据</item>
<item index="1" type="string">测试数据2</item>
<item index="2" type="string">测试数据3</item>
</material>
<name type="string">examp1004</name>
</item>
<item index="4">
<attr>
<item index="0">
<item index="0" type="int64">1</item>
<item index="1" type="int64">700</item>
</item>
<item index="1">
<item index="0" type="int64">2</item>
<item index="1" type="int64">800</item>
</item>
<item index="2">
<item index="0" type="int64">3</item>
<item index="1" type="int64">903</item>
</item>
<item index="3">
<add>
<item index="0" type="int64">7</item>
<item index="1" type="int64">100</item>
</add>
</item>
</attr>
<award1>
<item index="0" type="int64">1</item>
<item index="1" type="int64">2</item>
<item index="2" type="int64">3</item>
</award1>
<award2>
<id type="int64">1</id>
<num type="int64">3</num>
<type type="int64">2</type>
</award2>
<desc>
<item index="0" type="string">来源1</item>
<item index="1" type="string">来源2</item>
<item index="2" type="string">来源6</item>
</desc>
<id type="number">5</id>
<material>
<item index="0" type="string">test</item>
</material>
<name type="string">examp1004</name>
</item>
</cfg_array_example2>