This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes getting XML schema using java. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "getting XML schema using java." Watch "getting XML schema using java." New topic
Author

getting XML schema using java.

Murali Jaya Rao
Ranch Hand

Joined: Jun 10, 2007
Posts: 43
Hi all,

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.


Thanks,
Murali.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting XML schema using java.
 
Similar Threads
XMLBeans parsing question
xml schema validation, is it a dream ?
How to validate XML against DTD / Schema using DOM
xerces : Parsingproblem when "include" one or more Schema in another
How to validate XML against DTD / Schema using DOM