>Ah, now that consumes the resource bytes correctly, but the <?xml...>
declaration is missing from the resulting XML

 

No, cancel that, it was just the way it was displayed in the debugger. The
declaration is there. So you get the Stream from the embedded resource, then
make a StreamReader(stream,utf8), then you can get the xml string
ReadToEnd() and Parse() it, or Load() the stream directly -- Greg

 

Reply via email to