Query on how to create a XML skeleton based on DTD

Dominic Prabhu <[email protected]> Thu, 26 Nov 2015 14:22:21 +0000 (UTC)
Newsgroups gmane.text.xml.xerces-j.user
Message-ID <[email protected]>
Dear Team,

Need your help.

Below is the DTD

<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT one_test (#PCDATA)>
<!ELEMENT two_test (#PCDATA)>
<!ELEMENT three_test (checksinglerecord)>
<!ELEMENT requestdata (two_test?,three_test*)>

From the above DTD input I need to create an XML and insert values into it. Any kind of DTD it should process.

Please suggest.

if we can do with Xerces ?

Thanks in Advance
Dominic