Click here to Skip to main content
11,583,859 members (63,161 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# XML
hey everyone...
I have an xml file containing some functions as CDATA script.
how can I compile such a this files an use the returned values?
is there any c# component or class that I can use ?
in the following u can see an example:

<?xml version="1.0" encoding="utf-8"?>
<XFile xmlns:xsi="">
Public Const Deg2Rad As Double = Math.PI / 180 
Const Rad2Deg as Double = 180 / PI
Public Function GetXValue(ByVal  R as Double, ByVal phi as Double,alpha as Double) As Double
End Function
some data in xml format
Posted 26-May-13 21:35pm
Edited 26-May-13 21:38pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try to use solution from this question[^], or to use this project[^] or to google for something else Smile | :)
keyvan_iau86 at 27-May-13 7:13am
hi @skydger.
that question was a kind of helpful :) but I'm still waiting for another helpful solutions ...
Richard MacCutchan at 27-May-13 7:51am
Why not try doing some research for yourself, rather than waiting for a solution? It is no simple matter to convert text to executable code without a compiler, so you need to go and look for the sort of tools that will help you.

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

  Print Answers RSS
0 OriginalGriff 480
1 Sergey Alexandrovich Kryukov 285
2 virusstorm 268
3 Dave Kreskowiak 230
4 Richard Deeming 220
0 OriginalGriff 1,623
1 Sergey Alexandrovich Kryukov 1,135
2 Abhinav S 701
3 Dave Kreskowiak 627
4 Suvendu Shekhar Giri 568

Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | Last Updated 27 May 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100