Note that there are some explanatory texts on larger screens.

plurals
  1. PODisplaying information from xml document in an html page
    primarykey
    data
    text
    <p>What I am trying to do is read this xml document from the html document and display the contents on the web page. How can I import the information from the xml document into the html document. </p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;Family&gt; &lt;Mom&gt;Alison&lt;/Mom&gt; &lt;age&gt;44&lt;/age&gt; &lt;son&gt;Ian&lt;/son&gt; &lt;age&gt;8&lt;/age&gt; &lt;son&gt;Seth&lt;/son&gt; &lt;age&gt;4&lt;/age&gt; &lt;/Family&gt; </code></pre> <p>================================================================================== Here is my html code</p> <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Randy's second html web page !&lt;/title&gt; &lt;style type="text/css"&gt; body {background-image:url('Koala.gif');} h1 { text-align:center; font-size:600%; } h2 { text-align:center; font-size:300%; color:maroon } p { text-align:center; font-size:250%; color:#00ff00; } div { background-color:#efffff; } a { text-align:center; } th { background-color:green; } tr { background-color:green; } table { width: 200px; margin-left: auto; margin-right: auto; } #google-link { margin: 0 right; display: block; font-size:250%; color:#00ff00; } #Mail-link { margin: 0 auto; display: block; font-size:250%; color:#00ff00; text-decoration:underline; position:fixed; top:30px; right:5px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;h1&gt; Family&lt;/h1&gt; &lt;h2&gt; By: Randy White&lt;/h2&gt; &lt;P&gt; Things are great here are the names of my family&lt;/P&gt; &lt;P&gt;&lt;img src="Hydrangeas.jpg" width="150" height="100" alt="Hydrangeas.jpg"&gt;&lt;/P&gt; &lt;table border="1"&gt; &lt;tr&gt; &lt;th&gt;Month&lt;/th&gt; &lt;th&gt;Day&lt;/th&gt; &lt;th&gt;Year&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;December&lt;/td&gt; &lt;td&gt;13&lt;/td&gt; &lt;td&gt;2010&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;a id="google-link" href="http://www.google.com"&gt;Visit Google!&lt;/a&gt; &lt;a id="Mail-link" href="mailto:randywhite30@neb.rr.com"&gt;Contact Me!&lt;/a&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    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.
    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