Campbell Ritchie wrote:Are you getting any output from any of your print statements?
I think this question is too difficult for this forum and shall move you to our XML forum.
Campbell Ritchie wrote:I have dealt with the forum transfer.
I hardly know any XML, so I can only make a few general suggestions.
Are you going to use equality of the text with String#equals or String#equalsIgnoreCase?
Are you going to create an object with fields based on the XML file and them compare them with their equals methods?
Are you going to put the Strings into Lists and them iterate the Lists comparing the Strings?
Are you going to put tag→value pairs into a Map and compare those Maps?
Are you going to use diff or similar to compare the two XML files?
Tapas Chand wrote:Then I think you have to parse the XML and store the data in collection of objects(POJO).
String is not going to work here.
Tapas Chand wrote:Then I think you have to parse the XML and store the data in collection of objects(POJO).
String is not going to work here.
You need to show your sample XML so that we can help you in the right direction.Tony Kurt wrote:I use an online converter from XML to POJO Converter. But now I get 35 java class. Could you please help me how can I store the parsed XML. I think I could not understand you well
Tapas Chand wrote:
You need to show your sample XML so that we can help you in the right direction.Tony Kurt wrote:I use an online converter from XML to POJO Converter. But now I get 35 java class. Could you please help me how can I store the parsed XML. I think I could not understand you well
Tapas Chand wrote:
You need to show your sample XML so that we can help you in the right direction.Tony Kurt wrote:I use an online converter from XML to POJO Converter. But now I get 35 java class. Could you please help me how can I store the parsed XML. I think I could not understand you well
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |