C# Code:
string infoPathTemplate = string.Empty;
infoPathControl.TemplatePath = Server.MapPath("InfoPathTest.xsn");
infoPathTemplate = infoPathControl.XmlDataString;
string xml = File.ReadAllText(Server.MapPath("PCPXMLIN.xml"));
infoPathControl.XmlDataString = xml;
Schema and xsn are attached.
Also. Is this feature (schemas) tested and supported in the current release?
Thanks.