IDEX-1530: Added support for element and attributes with prefix