code: public static CmsRelationType valueOfXml(String name) {
  
          CmsRelationType result = valueOfInternal(name);
          if (result == null) {
              result = valueOf(PREFIX_XML + name);
          }
          return result;
      }
docs: Parses the given value into a valid enumeration element for a XML relation type.<p>
  
  This should be used to extend Strings like "weak" or "strong" to full relation type descriptors
  for XML documents like "XML_WEAK" or "XML_STRONG".<p>
  
  @param name the name to get the XML type for
  
  @return the XML enumeration element
  
  @see #valueOf(String)