This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I'm using DOM parser for parsing the xml file in my code and I have been developed a UI such a way that if user edits the data that should rewrite to the xml file.Here,I'm able to write the all the contents back to the xml file but the schema I have written is mentioned statically in my code.
How can i read the xml schema from xml so that the schema i can rewrite to xml after editing the text in UI.Any suggestions please.