my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 12759
    
    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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: very basic questions
 
Similar Threads
Where to place the XML Schema
SCBCD Kathy's Book
XML Parsers
XML and SOAP Attachment
Total no. of questions