code: public double doubleValue(String name) {
          String s = childValue(name);
          if (s != null) {
              return Double.parseDouble(s);
          }
          throw new IllegalArgumentException(this + ": content: " + name);
      }
docs: Returns a double value of the supplied child or throws an exception if missing.
  @param name the child element name
  @return the value