我有一个巨大的档案;比我加载到Excel还要大,我想把它放到Access中对它做一些操作(查找每个条目,在一个日期范围内,等等),但是直接将文件加载到Access中我约7个不同的表,没有键或ID将它们链接在一起。
在线查看我似乎必须在导入文件时使用XLST进行转换,但我已经远远超出了我的深度。
所以,当我直接用Excel打开一个类似(但有点小)的文件时,我会得到一个像我想要的扁平结构。那么为什么我不能使用Excel用来确定Access中的结构?我可以导出用于直接获取数据的任何内容吗?
这是一个单一条目的片段:
<?xml version="1.0" encoding="utf-8"?>
<rap rereport="true">
<name>Gramex</name>
<report-date>2017-08-14T08:29:43+02:00</report-date>
<period>
<from>2017-01-01T00:00:00+01:00</from>
<to>2017-07-01T00:00:00+02:00</to>
</period>
<publications>
<publication id="LFwlaU97RbCQZzsn5NWGwQ" type="NORMAL" runtype="RERUN" night="false" archive="false">
<channel>RØ4</channel>
<distribution-channels />
<production production-number="14901715527" dr-production="false">
<parent-production>
<production production-number="14901615000" dr-production="false">
<title>Regionale nyheder</title>
<year />
<country />
<content />
<department-code>490</department-code>
<category>Nyheder</category>
<producer />
</production>
</parent-production>
<title>Regionale nyheder</title>
<year />
<country />
<content />
<department-code>490</department-code>
<category>Nyheder</category>
<producer />
</production>
<start>2017-01-01T10:30:00+01:00</start>
<end>2017-01-01T10:32:00+01:00</end>
<duration>PT2M0.000S</duration>
<first-time-published>2017-01-01T10:30:00+01:00</first-time-published>
<title>Regionale nyheder</title>
<alternative-title>Regionale nyheder</alternative-title>
<briks complete="VERIFIED" not-verified="0">
<brik id="XjGj5q1HTCuHIZh1O29Gcg" duration="00:17" offset="00:00">
<genre id="2">JINGLE</genre>
<musa content-id="qDzwjqlUTR2VK6Avwg0gPQ" dr-production="true">
<media-code>5</media-code>
<album type="DR intern">
<title>P4 Lyddesign</title>
<label>DR</label>
<catalog-number>null</catalog-number>
<musa-number complete="true">6700089</musa-number>
<track duration="10:00" live="false">
<side>1</side>
<cut>1</cut>
<partcut />
<title>P4 Lyddesign 2016</title>
<work-title />
<record-country id="7">Danmark</record-country>
<associated-country />
<isrc />
<record-year>2016</record-year>
<catalog-number />
</track>
</album>
<persons>
<person role-source-system="MUSA" role-code="1" role="Komponist">Bjarke Rasmussen</person>
<person role-source-system="MUSA" role-code="4" role="Hovedkunstner">Bjarke Rasmussen</person>
</persons>
</musa>
</brik>
<brik id="u2Qh2ozMRuilWa_XofW5Ug" duration="00:08" offset="01:24">
<genre id="2">JINGLE</genre>
<musa content-id="3f6e4oShQxWwTDNoLE_4xw" dr-production="true">
<media-code>5</media-code>
<album type="DR intern">
<title>P4 kendinge (2015)</title>
<label>DR</label>
<catalog-number>null</catalog-number>
<musa-number complete="false">6700073</musa-number>
<track duration="00:07" live="false">
<side>1</side>
<cut>28</cut>
<partcut />
<title>Nyh/Gen/Break 1</title>
<work-title />
<record-country id="7">Danmark</record-country>
<associated-country />
<isrc />
<record-year>2015</record-year>
<catalog-number />
</track>
</album>
<persons>
<person role-source-system="MUSA" role-code="1" role="Komponist">Bjarke Rasmussen</person>
<person role-source-system="MUSA" role-code="4" role="Hovedkunstner">Bjarke Rasmussen</person>
</persons>
</musa>
</brik>
<brik id="5YkkrUSsQuCESShI_WJw2g" duration="00:09" offset="01:51">
<genre id="2">JINGLE</genre>
<musa content-id="vEUgsCypQPi_AwEKbrrbdg" dr-production="true">
<media-code>5</media-code>
<album type="DR intern">
<title>P4 kendinge (2015)</title>
<label>DR</label>
<catalog-number>null</catalog-number>
<musa-number complete="false">6700073</musa-number>
<track duration="02:08" live="false">
<side>1</side>
<cut>25</cut>
<partcut />
<title>Nyh/Gen/Vejr Bed</title>
<work-title />
<record-country id="7">Danmark</record-country>
<associated-country />
<isrc />
<record-year>2015</record-year>
<catalog-number />
</track>
</album>
<persons>
<person role-source-system="MUSA" role-code="1" role="Komponist">Bjarke Rasmussen</person>
<person role-source-system="MUSA" role-code="4" role="Hovedkunstner">Bjarke Rasmussen</person>
</persons>
</musa>
</brik>
<brik id="kTzt3NyfQL6ohT7KXLWpxg" duration="00:08" offset="00:37">
<genre id="2">JINGLE</genre>
<musa content-id="3f6e4oShQxWwTDNoLE_4xw" dr-production="true">
<media-code>5</media-code>
<album type="DR intern">
<title>P4 kendinge (2015)</title>
<label>DR</label>
<catalog-number>null</catalog-number>
<musa-number complete="false">6700073</musa-number>
<track duration="00:07" live="false">
<side>1</side>
<cut>28</cut>
<partcut />
<title>Nyh/Gen/Break 1</title>
<work-title />
<record-country id="7">Danmark</record-country>
<associated-country />
<isrc />
<record-year>2015</record-year>
<catalog-number />
</track>
</album>
<persons>
<person role-source-system="MUSA" role-code="1" role="Komponist">Bjarke Rasmussen</person>
<person role-source-system="MUSA" role-code="4" role="Hovedkunstner">Bjarke Rasmussen</person>
</persons>
</musa>
</brik>
</briks>
</publication>
</publications>
</rap>