code: private String getStringValue(XmlNode node) {
          switch (node.getType()) {
              case XmlNode.ATTRIBUTE_NODE:
              case XmlNode.TEXT_NODE:
                  return node.getValue();
              default: {
                  StringBuilder builder = new StringBuilder();
                  this.transformer.transform(node, builder);
                  return builder.toString();
              }
          }
      }
docs: Returns the string value for the given object
  
  @param node
  @return the string value for the given object