using xml data in codedom created class
hi there!
i'm creating c# class using codedom methods
i have already generated:
public class CRSHorizontalID
{
public class Norway
{
// value
public const long name;
}
}
bu the name of "public class Norway" should be read from xml document.. the name of class is in the xml node: <Country name="Norway" isoAlpha3="NOR" countryId="47" >
does someone know how could i get the word "Norway" from xml(or xsd) to the:
newClass = new CodeTypeDeclaration(className); ?
thank you much