import org.w3c.dom.Node;
public class PHPDebugUtils {
- public static String getAttributeValue (Node CurrentNode, String AttributeName) {
+ public static String getAttributeValue(Node CurrentNode, String AttributeName) {
String strValue = "";
if (CurrentNode.hasAttributes()) {
NamedNodeMap listAttribute = CurrentNode.getAttributes();
Node attribute = listAttribute.getNamedItem(AttributeName);
- if (attribute !=null)
+ if (attribute != null)
strValue = attribute.getNodeValue();
}
return strValue;