code: public static boolean readBooleanChild(
          Node node, String childNodeName, boolean defaultValue)
      {
          if (node == null)
          {
              throw new XmlException(
                  "Tried to read boolean value from child of null node");
          }
          Node child = XmlUtils.getFirstChild(node, childNodeName);
          if (child == null)
          {
              return defaultValue;
          }
          return XmlUtils.readBoolean(child);
      }
docs: Read an boolean value from the first child of the given node with
  the given name. If no such child is found, then the default
  value will be returned.
  
  @param node The node
  @param childNodeName The child node name
  @param defaultValue The default value
  @return The boolean value
  @throws XmlException If the given node was <code>null</code>