src/main/java/org/jboss/util/xml/XmlHelper.java
public static String getUniqueChildContent(Element element,
                                              String tagName)
      throws Exception
   {
      return getElementContent(getUniqueChild(element, tagName));
   }
public static String getUniqueChildContent(Element element,
                                              String tagName)
      throws Exception
   {
      return getElementContent(getUniqueChild(element, tagName));
   }
public static String getUniqueChildContent ( Element element , String tagName ) throws Exception { return getElementContent ( getUniqueChild ( element , tagName ) ) ; }
Macro to get the content of a unique child element.

@param element    The parent element.
@param tagName    The name of the desired child.
@return           The element content or null.
@throws Exception
Macro to get the content of a unique child element .