473,387 Members | 3,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Xml To Ms-access Datbase Conversion using JSP

Hai friends

I am doing one project titled 'XML MIGRATION'. The concept is to migrate the database files into xml files. It was done succesfully. But the only thing needed is to convert the xml file back to the database file.

I am using JSP to develop this project. Both Oracle and Ms-Access databases can be migrated using this project.

I need some coding examples for converting xml file into database (Ms-Access is enough).

If anybody know the coding please forward it here..

Thanks for your interest...

By
Sadiq
Mar 12 '07 #1
3 1614
r035198x
13,262 8TB
Hai friends

I am doing one project titled 'XML MIGRATION'. The concept is to migrate the database files into xml files. It was done succesfully. But the only thing needed is to convert the xml file back to the database file.

I am using JSP to develop this project. Both Oracle and Ms-Access databases can be migrated using this project.

I need some coding examples for converting xml file into database (Ms-Access is enough).

If anybody know the coding please forward it here..

Thanks for your interest...

By
Sadiq
You may not be able to get someone to post all the code for you here.
We prefer assisting where you do most of the coding.

Do you know how to use the XML parsing API to parse an XML file? Using the parser will greatly simply the work for you here.
Mar 12 '07 #2
Dear admin

Thanks for your information..

I dont know XML Parsing API. This is the first time that i am developing a big project usign java. So I need some sample codings for converting xml into database..

Thanks...

By
Sadiq
Mar 12 '07 #3
r035198x
13,262 8TB
Dear admin

Thanks for your information..

I dont know XML Parsing API. This is the first time that i am developing a big project usign java. So I need some sample codings for converting xml into database..

Thanks...

By
Sadiq

Expand|Select|Wrap|Line Numbers
  1.  
  2. import org.w3c.dom.*;
  3. import org.xml.sax.*;
  4. import javax.xml.parsers.*;
  5. import java.io.*;
  6. public class DomTest1 {
  7.  public static void main(String[] args) {
  8.   try {
  9.    String file = "test1.xml";
  10.    DocumentBuilderFactory factory =   DocumentBuilderFactory.newInstance();
  11.    DocumentBuilder builder = factory.newDocumentBuilder();
  12.    Document document = builder.parse(new File(file));
  13.    Element root = document.getDocumentElement();
  14.    System.out.println(root.toString()); 
  15. ......
  16.  
That is the DOM approach and is easy to implement as you can see from the above code.
Mar 12 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jules | last post by:
So with MS looking towards Longhorn Indigo messaging, for Service based Applications Integration, its brief dalience with adoption of industry wide Web Service standards is over. This is a major...
5
by: Don Wash | last post by:
Hi All! I do not find any relevant newsgroups to post this question so I just posted to this VB DotNet and General DotNet groups. I'm trying to create a VB.NET application that will scan...
0
by: Christian McArdle | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.os.ms-windows.programmer.win64 This is a formal Request For Discussion (RFD) to create comp.os.ms-windows.programmer.win64 as an unmoderated...
0
by: Christian McArdle | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.os.ms-windows.programmer.win64 This is a formal Request For Discussion (RFD) to create comp.os.ms-windows.programmer.win64 as an unmoderated...
3
by: Christian McArdle | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.os.ms-windows.programmer.64bit This is a formal Request For Discussion (RFD) to create comp.os.ms-windows.programmer.64bit as an unmoderated...
18
by: Rob R. Ainscough | last post by:
MS Visual Studio Ad contained in VS Magazine. Two developers in "hip" clothing diagramming out a huge flow chart on a beach. I could NOT stop laughing at the stupidity of the ad -- "Let your...
7
by: Joe Ross | last post by:
I've been working with Microsoft support for over 3 weeks now on an intermittent General Network Error we're seeing in our production environment between our ASP.NET application and SQL Server...
2
by: =?Utf-8?B?QW50aG9ueSBSb2RyaWd1ZXosIERCQQ==?= | last post by:
Hi! I downloaded MS Visual Web Developer 2005 Express Edition, MS .NET Framework SDK v2.0, and MS SQL Server 2005. Subsequently, I bought MS Visual Studio 2005 Professional Edition. 1) Are...
1
by: Dr T | last post by:
Hi! I downloaded MS Visual Web Developer 2005 Express Edition, MS .NET Framework SDK v2.0, and MS SQL Server 2005. Subsequently, I bought MS Visual Studio 2005 Professional Edition. 1) Are...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.