1. document api: createattribute

  2. document api: createattributens