XML : Sublime Text 2 - Browser Preview Not Working

When I go to Tools, Build System, I see the following list of options:

C++

D

Erlang

Haskell

Ant

JavaC

Make

Python

Ruby

Chrome Browser

untitled

Chrome is checked, and when I hit command + B, the window shows up but it's completely blank.

Does Sublime Text 2 support xml documents? I just want to see what the document will look like in the browser. It's supposed to look like this:

http://i.imgur.com/3bV3Wmh.jpg

Here is the code and link to JSfiddle: http://jsfiddle.net/khy7ox0x/

  <?xml version = "1.0"?>  <?xml-stylesheet type = "text/xsl" href = "sports.xsl"?>    <!-- Fig. 15.18: sports.xml -->  <!-- Sports Database -->    <sports>   <game id = "783">    <name>Cricket</name>      <paragraph>       More popular among commonwealth nations.    </paragraph>   </game>     <game id = "239">    <name>Baseball</name>      <paragraph>       More popular in America.    </paragraph>   </game>     <game id = "418">    <name>Soccer (Futbol)</name>      <paragraph>       Most popular sport in the world.    </paragraph>   </game>  </sports>     

Please help if possible. Thank you.

No comments:

Post a Comment