+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

XMLDataProvider parameter


(Cady Huynh) #1

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


(Günther Schwarze) #2

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

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

Looks easy enough to me.

G.


(Cady Huynh) #3

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