Add code to retrieve values for dtd entities and properties