Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Using System.Drawing.Bitmap in msxsl script tag [Thread Next] Re: Using System.Drawing.Bitmap in msxsl script tagTo: NULL Date: 6/12/2007 9:55:00 AM On Apr 14, 9:49 pm, "Hans Olav Stjernholm" <n...@email.here> wrote: > Hi. > > I believe that the xsl inline-script has a few namespaces and > assembly-references hardcoded. > If you want to work with classes outside of these assemblies you'll have to > write an extension object instead. > > 'Hans Olav. > > "dazzle" <daz...@edazzle.net> wrote in message > > news:1175629748.286111.106330@n...... > > > > >I am writing an XSL stylesheet and want to use the ASP.Net > > System.Drawing.Bitmap namespace within an msxsl tag. > > > However whenever I attempt to do this I get the following error: 'Type > > 'System.Drawing.Bitmap' could not be found, is an assembly reference > > missing?' > > > The language I am using is JavaScript and I don't have a problem with > > other ASP.Net namespaces. > > > Any help would be appreciated, > > > Paul- Hide quoted text - > > - Show quoted text - I found out how to do this, you add the following underneath the <msxsl:script> tag: <msxsl:assembly name="System.Drawing"/> <msxsl:using namespace="System.Drawing"/> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
