Android-java vs PC-Java
<p>This simple line of code gives the error "The method getTextContent() is undefined for the type Element":</p>

<pre><code>String color_string = ( ( Element )( ( Element )inner_node ).getElementsByTagName( "color" ).item( 0 ) ).getTextContent();
</code></pre>

<p>I get the error in my Android-java version, but not in my PC-Java which I use for testing and debugging Java code before I run it on the phone.</p>

<p>I have</p>

<pre><code>import org.w3c.dom.Element;
</code></pre>

<p>on both versions.  And I copied the code from the PC-Java to the Android-Java so I am 100% sure I have the same syntax on both.</p>
