I am trying to read an XML file (not generated by me)
and output it in HTML

Code as below:

```html
<?php    $feed = "includes/captaincooks.xml";
$results = simplexml_load_file($feed); foreach ($results as $product);

//var_dump($results);
?>

<!DOCTYPE html>
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>    <ul>
        <li><img src="<?php echo $product->img_url; ?>" alt="<?php echo $product->name; ?>" /></li>
        <li>Product URL: <?php echo $product->purl; ?> </li>
        <li>Description: <?php echo $product->desc; ?></li>
        <li>Price: <?php echo $product ->price; ?>  </li>
        <li><a href="<?php echo $product->deeplink; ?>"<?php echo $product->product_name; ?>"></a></li>
    </ul>                                                     
 </body>
</html>  
```

on the web page i get this error about an ';' ?

it seems to read the xml file and get the various bits of data just doesn't like something in the simplexml\_load\_file line 2

error is (showing 1 line only, many lines all pretty much the same except the data that's read)

```
Warning: simplexml_load_file(): includes/captaincooks.xml:1: parser error : EntityRef: expecting ';' in /home/picnicpa/public_html/includes/captaincooks.html on line 2

```

`captaincooks.html` is the data i wrote above
`captaincooks.xml` is the xml file

Any ideas welcome

Tony