aspose file tools*
The moose likes XML and Related Technologies and the fly likes very basic questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "very basic questions" Watch "very basic questions" New topic
Author

very basic questions

Michael.H.Sun
Ranch Hand

Joined: Jan 18, 2001
Posts: 39
Dear all,
I am new in XML. I want to learn that 1). what software I use to create an XML file and 2). how I save it in SQL Server.
Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Since XML is pure text, you have a lot of options for creating it, ranging from typing in a text editor to writing Java code. The first question is - what is the source of the data?
You can save XML the same way you would save any long variable length character sequence.
Bill
Michael.H.Sun
Ranch Hand

Joined: Jan 18, 2001
Posts: 39
William,
What I am trying to develop a servlet.
Servlet should do the following:
1). reads an XML file,
2). determines the formats of the data,
3). creates a table in SQL Server 7.0 to accept the file, and
4). loads the file into the SQL Server table.
Your detailed instructions are greatly appreciated.
Form your above message, I believe that I can create a XML file in notepat or wordpat. When I save it, I use xml as it extension as I use html for a html file. Am I right?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: very basic questions