semantic query optimization is an important area in XML query optimization. However, the experiments evaluating semantic optimization methods often suffer because of the lack of suitable data sets. the data sets that are necessary for evaluating semantic query optimization methods should satisfy the demands, of evalution in the following areas: selectivity of nested elements, selectivity of values of elements, depth fan-out and size. in this paper, we introduce an XML document adapter, which can adapt existing XML documents. with the adapter, users are able to modify not only the structure of XML docuwnents but also the content quickly and directly