code: public static void addOrSetAttribute(final AttributesImpl atts, final QName name, final String value) {
          addOrSetAttribute(atts, name.getNamespaceURI(), name.getLocalPart(), name.getPrefix()  + ":" + name.getLocalPart(), "CDATA", value);
      }
docs: Add or set attribute. Convenience method for {@link #addOrSetAttribute(AttributesImpl, String, String, String, String, String)}.
  
  @param atts attributes
  @param name name
  @param value attribute value