implementation of the dtd files of part 1