File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "very basic questions" Watch "very basic questions" New topic

very basic questions

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.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13025
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.
Ranch Hand

Joined: Jan 18, 2001
Posts: 39
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?
I agree. Here's the link:
subject: very basic questions
It's not a secret anymore!