When you tried just using the built-in functoids, did you attempt to use a
combination so that you were using a logical at the end to see if the value
was <null> or not? In this way you can either create or not create the
field in the output.
BizTalk Server Support
This posting is provided *AS-IS* with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
From: "Craig Beuker" <cr...@nspam.5by5software.com>
Sender: "Craig Beuker" <cr...@nspam.5by5software.com>
Subject: Developing Custom Biztalk Functoid Components
Date: Fri, 1 Mar 2002 16:12:47 -0800
I am attempting to build a custom mapping functoid and
have some questions, I am hoping some of you might have
answers for these.
In VB, you can build one of three types of functoids,
VBScript, JScript or XSLT.
What I have built (or am trying to build) is a functoid
that will loop through a set of data elements, Something
like the following:
and return a set like this:
I have tried using a map with the existing functoids to do
this, but the best I can get is the following:
So what I wanted to do is Create a functoid that takes 3
parameters, The Parent tree (Root in this case), The
comparison Element (or Attribute) and the value to use to
make the comparison.
What I would want to do in the functoid is have an XSL
Template for-each option, something like the following:
The main problem I have is how to indicate the parameters
in the XSL. From looking at the Looping functoid that
came with Biztalk, it uses Input to indicate the
parameter. However, for the Value Mapping Functoids it
uses "First Input" and "Second Input"
Does anyone know if there is any rhyme or reason to taking
input parameters into a XSLT functoid and placing them in
the XSL. Anyone?
I have looked at Chaper 4 of the Professional Biztalk
book, but the book goes into no useful details on XSLT
functoids and parameters, neither does the Sample functoid
in the SDK directory (which is basically the same thing
the Professional Biztalk book describes)
Thanks in advance.