/// <summary> /// Sets the DataEntryXslt and DataSchema properties given a Smart Form design package. /// Applicable when authoring smart form content. /// The Configuration.DataEntry toolbar (or similar) should be used to author smart form content. /// </summary> /// <param name="contentApi">Reference to the ContentAPI object</param> /// <param name="package">Smart Form design package (string)</param> public void LoadPackage(ContentAPI contentApi, string package) { //string strDataEntryXslt = contentApi.TransformXsltPackage(package, Server.MapPath(this.ScriptLocation + "unpackageView.xslt"), true); //string strDataSchema = contentApi.TransformXsltPackage(package, Server.MapPath(this.ScriptLocation + "unpackageSchema.xslt"), true); string strDesignPage = contentApi.TransformXsltPackage(package, Server.MapPath(this.ScriptLocation + "unpackageDesign.xslt"), true); string strDataEntryXslt = contentApi.TransformXsltPackage(strDesignPage, Server.MapPath(this.ScriptLocation + "DesignToEntryXSLT.xslt"), true); string strDataSchema = contentApi.TransformXsltPackage(strDesignPage, Server.MapPath(this.ScriptLocation + "DesignToSchema.xslt"), true); this.DataEntryXslt = strDataEntryXslt; this.DataSchema = strDataSchema; }