This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Pls help me in exploring the SAX parser, and do tell me whether we can generate a XML file from a XML schema using SAX like we do using DOM and castor objects, or is SAX just used for the sole purpose of parsing
You can generate a stream of events that mimic the output of a SAX parser and use them to create XML documents. I know of no way to automatically use XSD, that requires programming on your part to combine your data with the XSD structure information.