title: Trouble displaying XML file styled by XSLT on Chrome browser
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3828898/can-chrome-be-made-to-perform-an-xsl-transform-on-a-local-file">Can chrome be made to perform an xsl transform on a local file?</a>  </p>
  </blockquote>
  
  
  
  <p>Taking from this example: <a href="http://www.w3schools.com/xml/simplexsl.xml" rel="nofollow noreferrer">http://www.w3schools.com/xml/simplexsl.xml</a></p>
  
  <p>I have two files sitting on my desktop: <code>simple.xsl</code> and <code>simplexsl.xml</code>, when I open them with Opera, FF4, IE9 and Safari... they come out properly and such. When I use Chrome however... I get a blank page. Help!</p>
  
  <p>(if someone can just copy and paste these and open to see if it works on Chrome 10 for them it would be great!)</p>
  
  <p><code>simple.xsl</code></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  
  &lt;!-- Edited by XMLSpy® --&gt;
  
  &lt;html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"&gt;
  
    &lt;body style="font-family:Arial;font-size:12pt;background-color:#EEEEEE"&gt;
  
      &lt;xsl:for-each select="breakfast_menu/food"&gt;
  
        &lt;div style="background-color:teal;color:white;padding:4px"&gt;
  
          &lt;span style="font-weight:bold"&gt;&lt;xsl:value-of select="name"/&gt;&lt;/span&gt;
  
          - &lt;xsl:value-of select="price"/&gt;
  
        &lt;/div&gt;
  
        &lt;div style="margin-left:20px;margin-bottom:1em;font-size:10pt"&gt;
  
          &lt;xsl:value-of select="description"/&gt;
  
          &lt;span style="font-style:italic"&gt;
  
            &lt;xsl:value-of select="calories"/&gt; (calories per serving)
  
          &lt;/span&gt;
  
        &lt;/div&gt;
  
      &lt;/xsl:for-each&gt;
  
    &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p><code>simplexsl.xml</code></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  
  &lt;?xml-stylesheet type="text/xsl" href="simple.xsl" ?&gt;
  
  &lt;!-- Edited by XMLSpy® --&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>