I have several instances where I put a Scripting Functoid in my map,
configure it as Inline Visual Basic .NET, and then call that function from
my Custom XSLT using the userVB namespace. Now I want to be able to do the
same thing with a Scripting Functoid configured as an External Assembly.
If
I drop the Scripting Functoid in the map, configure it as an External
Assembly, and then use it directly in the map (connecting its inputs and
outputs directly to the source and target schemas) and then do Validate
Map
to see the resultant XSL, the XSL includes a declaration of the namespace
ScriptNS0 as http://schemas.microsoft.com/BizTalk/2003/ScriptNS0.
The
calls
to the external function then use this ScriptNS0 namespace. But if I
remove
the input and output connections from the functoid and try to call it from
my custom XSLT, the namespace isn't defined. When I do the same thing with
an Inline Visual Basic .NET scripting functoid, the namespace declaration
is
automatically added to the XSL.
So how can I configure a scripting functoid as External Assembly and call
it
from my custom XSLT?
Thanks,
Zoe


|