How Do I write an XML file using Java?
Hello there!! to everyone reading my post.
I have this project I need to do, and I have no clue where to start, I was wondering if you guys could help me out.
I need to know how to write an XML file using a Java Program, but without using a Third party library.... just using java native APIs.
I will probably take the values to construct the file from a form.
I will certainly appreciate if you could post some sample code for me.
Thank you very much in advance..
[501 byte] By [
BCE_Josea] at [2007-11-26 12:19:51]

# 7
Hello there!,
I have some doubts about the Tutorial I am currently reading. correct me If I'm wrong, but the section "Write a simple XML file" teaches you how to do so using a text editor. I need to create my XML file from a running Java Program written by myself, that takes the values to build it from some variables.
If I'm totally wrong about what I'm saying, could you please point me to where I can find the information of how to do what I'm asking for, inside the tutorial.
Thank you very much,...
sincerely.