Note that there are some explanatory texts on larger screens.

plurals
  1. POExplanation of converting exporting an XML document as a relational database using XSLT
    primarykey
    data
    text
    <p>I would like to better understand the basic steps needed to a take an XML document like this Breakfast Menu...</p> <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt; &lt;breakfast_menu&gt; &lt;food&gt; &lt;name&gt;Belgian Waffles&lt;/name&gt; &lt;price&gt;$5.95&lt;/price&gt; &lt;description&gt;two of our famous Belgian Waffles with plenty of real maple syrup&lt;/description&gt; &lt;calories&gt;650&lt;/calories&gt; &lt;/food&gt; &lt;food&gt; &lt;name&gt;Strawberry Belgian Waffles&lt;/name&gt; &lt;price&gt;$7.95&lt;/price&gt; &lt;description&gt;light Belgian waffles covered with strawberries and whipped cream&lt;/description&gt; &lt;calories&gt;900&lt;/calories&gt; &lt;/food&gt; &lt;food&gt; &lt;name&gt;Berry-Berry Belgian Waffles&lt;/name&gt; &lt;price&gt;$8.95&lt;/price&gt; &lt;description&gt;light Belgian waffles covered with an assortment of fresh berries and whipped cream&lt;/description&gt; &lt;calories&gt;900&lt;/calories&gt; &lt;/food&gt; &lt;food&gt; &lt;name&gt;French Toast&lt;/name&gt; &lt;price&gt;$4.50&lt;/price&gt; &lt;description&gt;thick slices made from our homemade sourdough bread&lt;/description&gt; &lt;calories&gt;600&lt;/calories&gt; &lt;/food&gt; &lt;food&gt; &lt;name&gt;Homestyle Breakfast&lt;/name&gt; &lt;price&gt;$6.95&lt;/price&gt; &lt;description&gt;two eggs, bacon or sausage, toast, and our ever-popular hash browns&lt;/description&gt; &lt;calories&gt;950&lt;/calories&gt; &lt;/food&gt; &lt;/breakfast_menu&gt; </code></pre> <p>And "export" it to say, an Access or MySQL database using XSLT, creating two joined tables:</p> <ul> <li><strong>Table</strong>: breakfast_menu <ul> <li>Field: <strong>menu_item_id</strong></li> <li>Field: <strong>food_id</strong></li> </ul></li> <li><strong>Table</strong>: <em>food</em> <ul> <li>Field: <strong>food_id</strong></li> <li>Field: <strong>name</strong></li> <li>Field: <strong>price</strong></li> <li>Field: <strong>description</strong></li> <li>Field: <strong>calories</strong></li> </ul></li> </ul> <p>If there are online tutorials on this that you know of, I'd be interesting in learning more, as well. </p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload