hi I need to import some packages ------- import org.apache.xml.serialize.XMLSerializer; import org.apache.xml.serialize.OutputFormat; import org.apache.xerces.dom.DocumentImpl; import org.apache.xerces.dom.DocumentTypeImpl; import org.apache.xerces.dom.DOMImplementationImpl; ------- and i do not know where i can find them ... i installed Xerces 2 but it didn't change anything till now :s thx
How did you install xerxes2 ? Normally you find these classes in the xerxes.jar. You can check it if you unzip the jar file. For running your code correctly you have to put xerxes.jar into your classpath. For seeing it in the ide's you have to be careful. Not every ide is updating the auto completition automaticly when you mount a jar file. So e.g in Netbeans you first have to update your parser database yourself
Also, be very careful about how you spell xerces. It is a very common mistake (i.e. one I have made myself) to accidentally add xerxes.jar to your classpath. I think this spelling is more natural to native English speakers than the correct spelling, xerces. A quick google search reveals that there are at least nine web pages that accidentally include both spellings on the same page.