Searching in main/package/dtd