XMLDataProvider parameter

I know the help file say XMLDataProvider(string uri) but is there another construction that would take XML content as a string?

Actually, there is a constructor that takes an XmlDocument. So the quickest path would be

XmlDocument doc = new XmlDocument();
XmlDataProvider provider = new XmlDataProvider(doc);

Looks easy enough to me.


Oh great!
Thank you so much Gunther. It is exactly what I need.
I was checking in Document Property and didn’t understand that.