• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

very basic questions

 
Michael.H.Sun
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic