title: Get a node's inner XML as String in Java DOM
body: <p>I have an XML org.w3c.dom.Node that looks like this:</p>
  
  <pre><code>&lt;variable name="variableName"&gt;
      &lt;br /&gt;&lt;strong&gt;foo&lt;/strong&gt; bar
  &lt;/variable&gt;
  </code></pre>
  
  <p>How do I get the <code>&lt;br /&gt;&lt;strong&gt;foo&lt;/strong&gt; bar</code> part as a String?</p>