change getTextContent() to "safer" functions  

In some cases, the system always import the "org.w3c.dom.Node" jar file from J2EE not JDK. While the jar file from J2EE doesn't have the function getTextContent(). getFirstChild().getNodeValue() is a "safer" way to complete the feature.