Register  Login       Search  
Forum  
 
  
 
Forum  Forum     
 
SearchForum Home
  XML Lab Products  nxslt  nxslt Class Sys...
 nxslt Class System.Drawing.Image
 
cheininger
2 posts
Joined
2/15/2007

nxslt Class System.Drawing.Image
Posted: 15 Feb 07 7:36 AM (Germany)
Hello everyone,

I want to use the Class System.Drawing.Image in a c#-script within a XSLT-script under nxslt-2.1. But unfortunately nxslt can't find this class. In microsoft Visual Studio you can link the System.Drawing.dll to a project, but how can I do that for nxslt?

Can anybody help me, please?
Chris
olegt
85 posts
www.xmllab.net
Joined
2/25/2005

Re: nxslt Class System.Drawing.Image
Posted: 15 Feb 07 7:54 AM (Israel)

Try this:

<msxsl:script language="C#" implements-prefix="user">
    <msxsl:assembly name="System.Drawing.dll" />
    <msxsl:using namespace="System.Drawing" />
...
</msxsl:script>

Oleg Tkachenko, Microsoft MVP for XML, MCPD
http://www.XmlLab.Net | http://blog.tkachenko.com
cheininger
2 posts
Joined
2/15/2007

Re: nxslt Class System.Drawing.Image
Posted: 15 Feb 07 8:16 AM (Germany)
Thanx a lot for your fast reply! This works fine - great.
  XML Lab Products  nxslt  nxslt Class Sys...
Forum Home  Search