title: How to configure Eclipse XML formatting?
body: <p>I would like to change the way Eclipse formats XML files. For example, if I have in pom.xml file a section as follows:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;3.8.1&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>After ctrl+shift+f it will look like:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;
              junit
          &lt;/groupId&gt;
          &lt;artifactId&gt;
              junit
          &lt;/artifactId&gt;
          &lt;version&gt;
              3.8.1
          &lt;/version&gt;
          &lt;scope&gt;
              test
          &lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I prefer the first version, so how to configure Eclipse to format XML files to look like that?</p>