Re: Is it possible to get an XDocument from an XmlNode?
On Jun 4, 3:33 pm, Marc Gravell <marc.grav...@g mail.comwrote:
Untested, but how about:
>
XmlNode node;// TODO
XDocument doc = XDocument.Load( new XmlNodeReader(n ode));
That may work since XmlNodeReader is an XmlReader and the XDocument's
Load method does take an XmlReader argument. I need to give it a
shot. Thank you.
Comment