title: how to switch/control syntax highlighting in eclipse flexibly?
body: <p>I have a file with extension .xml.</p>
  
  <p>But it doesn't necessarily contain XML. It may also contain HTML and JavaScript. Now I would like to either have Eclipse decide inteligently/heuristically which syntax highlighting would be appropriate or to switch it myself.</p>
  
  <p>Any ideas?</p>