title: Simple solution for converting JSON to HTML?
body: <p>Is there an at least relatively simple solution for converting JSON to HTML (i.e. without having to download any engines or libraries, or use a JSON-to-XML conversion tool; just a built-in way to do it like with XML and XSLT)? Or might I just as well stick with using XML and XSLT if I want to do it the simple way?</p>
  
  <p>Example: Say I wanted to convert list.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;list&gt;
      &lt;item letter="A"&gt;3&lt;/item&gt;
      &lt;item letter="B"&gt;5&lt;/item&gt;
      &lt;item letter="C"&gt;2&lt;/item&gt;
  &lt;/list&gt;
  </code></pre>
  
  <p>...into XHTML format (e.g. this):</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;ul&gt;
              &lt;li&gt;A - 3&lt;/li&gt;
              &lt;li&gt;B - 5&lt;/li&gt;
              &lt;li&gt;C - 2&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>...I would just need to create list.xsl:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  version="2.0"&gt;
  
  &lt;xsl:output method="html" indent="yes" version="5.0" /&gt;
  
      &lt;xsl:template match="/list"&gt;
          &lt;html&gt;
              &lt;body&gt;
                  &lt;ul&gt;
                      &lt;xsl:apply-templates select="item" /&gt;
                  &lt;/ul&gt;
      &lt;/xsl:template&gt;
  
      &lt;xsl:template match="item"&gt;
         &lt;li&gt;&lt;xsl:value-of select="@letter" /&gt; - &lt;xsl:value-of select="." /&gt;&lt;/li&gt;
      &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>...and add this to list.xml just under the XML declaration at the top:</p>
  
  <pre><code>&lt;?xml-stylesheet type="text/xsl" href="list.xsl"?&gt;
  </code></pre>
  
  <p>I guess what I'm asking is, does JSON have a stylesheet format similar to what XSLT is for XML?</p>