Click here to Skip to main content
15,909,652 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have file from my client in .srx format i need to read data in those file and save this in database . i have searched in in internet for solution but i cant find any.

What I have tried:

i have googled to find out an answer. but there is no sufficient data on this topic.only found that it follow xml format
Posted
Updated 15-May-16 21:01pm
Comments
Garth J Lancaster 16-May-16 2:56am    
surely the most logical approach would be to ask the client for the xml schema/layout and work from there - else its just guesswork (and since you havent and likely cant show us what it looks like, we cant advise much)

Once you have the xml schema/layout from the client, then you can think about how best to represent the data so it can be mapped to the database schema - using things like AutoMapper, PetaPoco etc can make this easy, but at the moment, there are too many unknowns in your question.

1 solution

Start by finding out what an SRX file is - Google and Wiki can help: Segmentation Rules eXchange - Wikipedia, the free encyclopedia[^]
That says it's an XML based file, but that it's difficult to process in some languages.
It also says there is an open source app that processes them: Ratel[^]
Since it's open source, you can grab a copy of the source code, and try to modify that to fit your needs, or at least work out exactly what you need to do in your app.

Do not expect this to be trivial, and do not expect anyone to go "here is the code, just use this" - this is a specialised file format which may be unsupported since 2011, so you probably won't find that many people using it!
 
Share this answer
 
Comments
Kornfeld Eliyahu Peter 16-May-16 3:16am    
And it maybe this...https://en.wikipedia.org/wiki/SPARQL...
An other XML file format...
CPallini 16-May-16 4:38am    
5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900