Hi there!
I'm trying to create a XML file from within Java. After doing a bit of research, I'm quite confused - there seem to be many, many classes in the standard libraries (plus many more outside), that somehow deal with XML, but I don't know, which ones would be right for me. Here's what I want to do:
I want to read TXT files (no problem with that), extract the right information (still no problem so far) and then create an XML file, that holds the data I just extracted from the TXT files. I have designed a structure for my XML files, now I need the computer to create them for me.
So, which classes would you recommend and can you either give me an example of how to use them or direct me to a tutorial with a good example?
Greetings,
Nepomuk
I'm trying to create a XML file from within Java. After doing a bit of research, I'm quite confused - there seem to be many, many classes in the standard libraries (plus many more outside), that somehow deal with XML, but I don't know, which ones would be right for me. Here's what I want to do:
I want to read TXT files (no problem with that), extract the right information (still no problem so far) and then create an XML file, that holds the data I just extracted from the TXT files. I have designed a structure for my XML files, now I need the computer to create them for me.
So, which classes would you recommend and can you either give me an example of how to use them or direct me to a tutorial with a good example?
Greetings,
Nepomuk
Comment