Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to parse an ACORD XML which can have muliple Transactions in it

Posted on 2007-11-14
5
Medium Priority
?
607 Views
Last Modified: 2013-11-18
I need to parse an ACORD xml which can contain mutiple transactions in it and update SQL Transaction tables with the each transaction.

I have not handled ACORD XML with mutiple transactions till now. Could you please suggest different approaches to do this (in C#)?
0
Comment
Question by:Kiran_M
  • 2
  • 2
5 Comments
 
LVL 16

Expert Comment

by:McExp
ID: 20283199
I would load the XML file into an XML document. Write an appropriate XPath statement which extracts each transaction node and then "foreach" node make a UPDATE query against the database.
0
 
LVL 30

Expert Comment

by:anarki_jimbel
ID: 20283233
I am not sure if many people know how to do this. ACORD is quite a new standard.
Some companies products have support for ACORD XML, however this is not free, e.g
see INGENIUM .NET:

http://www.solcorp.com/products/net.htm

I don't really know the format and tasks to be solved. However xml is xml, and you may try to write your own library to handle specific ACORD formats. Eventually .Net has excellent support for xml.

0
 
LVL 16

Accepted Solution

by:
McExp earned 375 total points
ID: 20283330
Could you post an example of the specific acord file you are looking to parse?
0
 

Author Comment

by:Kiran_M
ID: 20299606
Specifications have changed,Closing this.  

Thanks.
0
 

Author Closing Comment

by:Kiran_M
ID: 31409200
Specifications changed.  Closing this question.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question