added logic to retrieve placeholders from attribute