Hello, I am new to XML. I need to know how to validate an xml file using DTD and Transform the validated XML to another XML using XSLT read the Transformed xml using a java file, using xml and ejb, display results in jsp. Can any body help me please, I have to prepare for some important meeting and also should show how to do it. I read Sun J2ee book it talks about SAX parser I could not get much from it. Can any body give me a sample XML, DTD and slt. I need it ASAP.
Oh, and you can turn on DTD validation by calling the setValidating(true) method on the factory you're using to create the parser instance (DocumentBuilderFactory if you're using DOM, SAXParserFactory if you're using SAX).