I am not sure exactly what you mean by including XML codes in Java. You can definitely combine Java and XML, and they make a great team - but you don't put XML code in the Java files or anything like that. Your Java appication simply operates on XML data using an XML parser. This XML data can either come from an XML file, or from another data source like a database, an HTTP response, etc. -Mirko
Originally posted by Saravanan Somalinga: Can we include XML codes in Java Programs?.