J
Jay Douglas
Hello all,
I have a basic XML file of which I set the Build Action to "Embedded
Resource" The XML file is simple:
<root>
<item>
<name>Test Name</name>
<description>Test Description</description>
</item>
</root>
I'm having a heck of a time reading the xml file embedded in the assembly.
I'm more than certain that I'm missing some sort of name space element in
the XML.. I've searched high and low and I am unable to find any sample
code that works. I get errors such as invalid object, etc.
I was hoping that somebody might be able to refer me to a url that explains
how to create the xml file correctly and the code to read the embedded xml
file.
C# and vb.net examples are welcome.
Thanks in advance.
Jay
I have a basic XML file of which I set the Build Action to "Embedded
Resource" The XML file is simple:
<root>
<item>
<name>Test Name</name>
<description>Test Description</description>
</item>
</root>
I'm having a heck of a time reading the xml file embedded in the assembly.
I'm more than certain that I'm missing some sort of name space element in
the XML.. I've searched high and low and I am unable to find any sample
code that works. I get errors such as invalid object, etc.
I was hoping that somebody might be able to refer me to a url that explains
how to create the xml file correctly and the code to read the embedded xml
file.
C# and vb.net examples are welcome.
Thanks in advance.
Jay