|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Configuration Sections .net 2.0I'm trying to use the new .Net Configuration classes to parse a custom
configuration element. It seems to work fine if I stick to using attributes to store my values but if I want to use text between the tags like below it throws the error "The configuration section cannot contain a CDATA or text element" <CustomSection Id="MyID" > <CustomElement name="myCustomElement">SomeData</CustomElement> </CustomSection> Is it no longer possible to use text between tags under the .net configuration model? Is this discouraged for some reason or am I simply missing something? Any help much appreciated. |
|||||||||||||||||||||||