* @throws Exception
* @return Document for specified attr set ids
*/
public Document downloadXml(int[] attrSetIds) throws ApiException, SdkException, Exception {
GetAttributesCSCall api = new GetAttributesCSCall(apiContext);
api.addDetailLevel(DetailLevelCodeType.RETURN_ALL);
if(attrSetIds != null) {
api.setAttributeSetIDs(attrSetIds);
}
String xmlText = api.getAttributesCS();
api.setIncludeCategoryMappingDetails(new Boolean(true));