Internet Media Type

Ken Webb 2010-05-10T17:55:08Z

An Internet Media Type or MIME Type is an "identifier for file formats on the Internet". In Xholon, it's used to identify non-XML content, especially when content is being pasted into a running Xholon application.

JSON content can be pasted in.

<XholonContent contentType="application/json">
{
   JButton:{@Text:'New Game',@ActionCommand:'newgame'}
}
</XholonContent>

XML content should almost always just be pasted in as is, but it could be done as follows.

<XholonContent contentType="text/xml"><![CDATA[
 <JButton Text="New Game" ActionCommand="newgame"/>
]]></XholonContent>

return to main page