I have Google and searched a lot but cant seem to find it, basically i would like to learn how do i write an xml file using
java,
I have a method that reads a text file and counts the most frequently occuring words
Now i want to write them into xml format and for that im searching for good tutorials aimed at beginner level
for example if the text file has the following;
for-3 now-10 alice-221 wonderland-12
I would then want to write a method that codes the above roughly as;
<frequentlyoccuringwords>
<
word occurence>count</word occurence>
<frequentlyoccuringwords>
Do suggest something meaningful