I have a XML document and a DTD and I want to create XML schema from these XML and DTD files. Is there a tool which can do this for me? I don't want to do it manually because I'll be getting different XML files each time. Can some one help me with this. Thanx Punitha
I am not aware of any such tools. What do you mean when you say "I'll be getting different XML files each time" ? Don't they all have the same DTD or are they different? Some clarification might help me give you a better answer!
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Ajith, Thanks for replying I have an HTML form where the user can request for some information, for example they can enter user id. Then I'll be creating an XML document from the HTMl form. Later I have a std DTD to which I'll verify my XML document.Then I want to create a Java object for that XML document and send it to the backend. We don't want to send the XML file directly to the backend. We want to send only an object. I'll be creating the reply XML document from the reply object and send it back to the browser. What I meant by different XML documents is that based on the input parameter, I'll be getting different reply from the backend. I found out about castor which can convert XML schema - Object So I am trying to convert my XML and DTD to XML schema. I hope the above explanation is clear. Punitha