用于导入XML以访问的XSLT文件

时间:2016-04-28 11:57:38

标签: xml xslt ms-access-2007

需要导入此xml文件才能访问,但只能获得许多表,而无法在它们之间创建关系。我知道我需要XSLT文件来实现这一目标,但我自己也不了解这一点。这是我试图导入的XML文件:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<products>
    <product id="28899">
        <name>
            <product_name language="gb"><![CDATA[Battery SE W910i/W380/Z555/W20i Zylo 1150 mAh Li-Ion BS PREMIUM]]></product_name>
        </name>
        <description>
            <description_text language="gb"><![CDATA[The battery is suitable for Sony Ericsson mobile phone brand. It is equipped with two IC protection circuits and it does not show memory effect. Modern lithium-ion cells enable a long-time use of mobile phone. The Premium version ensures even a longer life and reliable work.    <b>Sort</b>: Li-Ion  <b>Capacity</b>: 1150 mAh]]></description_text>
        </description>
        <category><![CDATA[Baterie Blue Star]]></category>
        <category_tree>BAT</category_tree>
        <pictures>
            <picture id="53445" url="http://partnertele.com/images/75/53445-75.jpg" main="1"/>
            <picture id="53540" url="http://partnertele.com/images/75/53540-75.jpg" main="0"/>
            <picture id="53545" url="http://partnertele.com/images/75/53545-75.jpg" main="0"/>
        </pictures>
        <price>
            <netto_price currency="EUR" amount="1.79"/>
        </price>
        <available>1</available>
        <ean>5901737168153</ean>
    </product>
</products> 

我必须在一个表或更多表中导入它,每个表中都有一个ID来创建它们之间的关系。谢谢你的帮助。

0 个答案:

没有答案