Hi,
I am loading an XSLT file in c# sharepoint webpart code as below:
string path = context.Request.MapPath("/_layouts/RSSWeatherXSL.xsl");
XslTransform trans = new XslTransform();
trans.Load(path); // loading xsl file
The XSLT file is rather large around 134 lines.
I need to reference images within the XSLT the path to which is generated by the codebehind.
SPWeb currentWeb = SPControl.GetContextWeb(Context);
2.Type currentType = this.GetType();
3.string classResourcePath = SPWebPartManager.GetClassResourcePath(currentWeb, currentType);
How could I do this? Thanks,