|
-
June 2nd, 2004, 12:44 AM
#1
XML Parser
Hi all i want to create a xml parser which reads the values from a xml file and inserts it into a database.
i will give you a description of my work. we are using oracle database for our application main server and mysql database for branches. i want to update the data from the branch to the main server. for that i am writing the data from the mysql database to a xml file. in the server i want to read the data from this xml file and insert this values in to the database. i cant use the default oracle tool for this cose i dont need the complete fileds in the xml to be entered in to the oracle database.
how can i do this. can anybody help me in this. its very urgent.
-
June 2nd, 2004, 02:12 AM
#2
Re: XML Parser
Originally posted by Vinod S
i cant use the default oracle tool for this cose i dont need the complete fileds in the xml to be entered in to the oracle database.
Then send the xml through a xslt transform, that selects the parts you need, and then use the oracle tool on the result of that transformation.
The biggest problem encountered while trying to design a system that was completely foolproof,
was, that people tended to underestimate the ingenuity of complete fools.
Douglas Adams
-
June 2nd, 2004, 02:23 AM
#3
Crosspost.
Please don't do this. I see this is not the first time you have been told, not to do this.
[Andreas]: Removed link to other post...
Last edited by Andreas Masur; June 2nd, 2004 at 03:29 AM.
The biggest problem encountered while trying to design a system that was completely foolproof,
was, that people tended to underestimate the ingenuity of complete fools.
Douglas Adams
-
June 2nd, 2004, 02:37 AM
#4
I cant do that cose why i dont want all the fields in the xml file is .
i am using torque to insert data in to the oracle database as well as mysql. and using its auto incriment menthod - idbroker - for my primary key when i insert the branch data using oracle method i will get conflict on this primary key its why i dont want all the fields in xml file, but i cant avoid this when i use oracle method. so i have to insert the data using torque only. i think now you got the real problem.
so is there any parser which helps to read the values directly from the xml file.
-
June 2nd, 2004, 02:43 AM
#5
I am Apologizing for the cross mail. its because of my eagerness i done so. first i have posted the question in XML form but there i dont find more interactions its why i posted the same in java form also.
-
June 2nd, 2004, 02:45 AM
#6
Originally posted by Vinod S
I cant do that cose why i dont want all the fields in the xml file is .
Originally posted by khp
Then send the xml through a xslt transform, that selects the parts you need...
The biggest problem encountered while trying to design a system that was completely foolproof,
was, that people tended to underestimate the ingenuity of complete fools.
Douglas Adams
-
June 2nd, 2004, 03:30 AM
#7
[Merged threads]
VinodS, as being mentioned, please do not cross-post your questions. Thank you very much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|