common function added to get asyncos dtd