Click here to Skip to main content
15,915,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to read the biological data from an XML file in order to convert that data into nodes and edges, to form a network graph. We have to use C# or ASP.NET for the coding. How to do that? Please help.
Posted

If you are using MSSQL as back-end then you could use the openxml()
Like this
SQL
SELECT *
FROM   OPENXML (@idoc, '/ROOT/Customer/Order/OrderDetail',2) 
         WITH (OrderID       int         '../@OrderID', 
               CustomerID  varchar(10) '../@CustomerID', 
               OrderDate   datetime    '../@OrderDate', 
               ProdID      int         '@ProductID', 
               Qty         int         '@Quantity');
 
Share this answer
 
Comments
mari t 7-Feb-14 11:35am    
Can I parse XGMML file in the similar way too?
 
Share this answer
 
Comments
mari t 7-Feb-14 11:35am    
Can I parse XGMML file in the similar way too?

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