This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi, i have a XML file as given below: <main> <ele id="1">C:\My Documents\data1.txt"> <ele id="2">C:\My Documents\da2.txt"> </main> the text files contains some names and a number for each name like sam 29 chris 32 etc i want the pseudo-code using which i can use a servlet to extract the data present in the files "data1.txt" and "da2.txt" and then perform calculations on them like multiplying the values in the text files. thanks in advance
Why use SAX when DOM is a lot easier to use? I know SAX is a bit more memory efficient but unless you're loading megabytes of data at a time that doesn't matter and the faster coding when using DOM more than pays for itself.