<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'XML and relational database mapping' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'XML and relational database mapping' posted on the 'XML Development' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 13:45:01 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 13:45:01 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>XML and relational database mapping</title>
      <link>http://www.programmersheaven.com/mb/xml/416161/416161/xml-and-relational-database-mapping/</link>
      <description>Hi&lt;br /&gt;
I'm very new to XML, and have the following question.&lt;br /&gt;
I have XML file like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;
&amp;lt;Company&amp;gt;&lt;br /&gt;
  &amp;lt;Department&amp;gt;&lt;br /&gt;
    &amp;lt;Name&amp;gt;Enterprise Development&amp;lt;/Name&amp;gt;&lt;br /&gt;
    &amp;lt;Employee&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Jeff&amp;lt;/Name&amp;gt;&lt;br /&gt;
    &amp;lt;/Employee&amp;gt;&lt;br /&gt;
    &amp;lt;Employee&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Mike&amp;lt;/Name&amp;gt;&lt;br /&gt;
    &amp;lt;/Employee&amp;gt;&amp;gt;&lt;br /&gt;
  &amp;lt;/Department&amp;gt;&lt;br /&gt;
  &amp;lt;Department&amp;gt;&lt;br /&gt;
    &amp;lt;Name&amp;gt;Foundation Services&amp;lt;/Name&amp;gt;&lt;br /&gt;
    &amp;lt;Employee&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;Sam&amp;lt;/Name&amp;gt;&lt;br /&gt;
    &amp;lt;/Employee&amp;gt;&lt;br /&gt;
  &amp;lt;/Department&amp;gt;&lt;br /&gt;
&amp;lt;/Company&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a one to many relationship between 'Department' and 'Employee'. When I import this file into Access DB, it creates the two tables with the data in it, but it does not seem to know there is such a relationship between the two tables. The schema is inferred.&lt;br /&gt;
How do I fix this.?? Do I include the primary key of the Department in both the Department and the Employee, and then manually set up the relationship in Access, or is there a more 'correct' solution.??&lt;br /&gt;
Thanks&lt;br /&gt;
Anton&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/xml/416161/416161/xml-and-relational-database-mapping/</guid>
      <pubDate>Wed, 05 May 2010 07:59:17 -0700</pubDate>
      <category>XML Development</category>
    </item>
  </channel>
</rss>