Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Developing Custom Biztalk Functoid Components
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Craig Beuker  
View profile  
 More options Mar 1 2002, 7:16 pm
Newsgroups: microsoft.public.biztalk.general
From: "Craig Beuker" <cr...@nspam.5by5software.com>
Date: Fri, 1 Mar 2002 16:12:47 -0800
Local: Fri, Mar 1 2002 7:12 pm
Subject: Developing Custom Biztalk Functoid Components
Greetings all,

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:
<Root>
<Data>Data_1</Data>
<Data>Data_2</Data>
<Data>Data_1</Data>
<Data>Data_2</Data>
<Data>Data_1</Data>
</Root>

and return a set like this:
<Root>
<Data>Data_2</Data>
<Data>Data_2</Data>
</Root>

I have tried using a map with the existing functoids to do
this, but the best I can get is the following:
<Root>
<Data></Data>
<Data>Data_2</Data>
<Data></Data>
<Data>Data_2</Data>
<Data></Data>
</Root>

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:
<xsl:for-each select=<<param1>>[<<param2>>=<<param3>>]>
   <code>
   ...
   </code>
</xsl:for-each>

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.

cmb..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"Brian Gregor"  
View profile  
 More options Apr 8 2002, 6:02 pm
Newsgroups: microsoft.public.biztalk.general
From: brian...@online.microsoft.com ("Brian Gregor")
Date: Mon, 08 Apr 2002 21:59:21 GMT
Local: Mon, Apr 8 2002 5:59 pm
Subject: RE: Developing Custom Biztalk Functoid Components

Hi Craig,

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.

Brian Gregor
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
reserved.

--------------------
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

Greetings all,

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:
<Root>
<Data>Data_1</Data>
<Data>Data_2</Data>
<Data>Data_1</Data>
<Data>Data_2</Data>
<Data>Data_1</Data>
</Root>

and return a set like this:
<Root>
<Data>Data_2</Data>
<Data>Data_2</Data>
</Root>

I have tried using a map with the existing functoids to do
this, but the best I can get is the following:
<Root>
<Data></Data>
<Data>Data_2</Data>
<Data></Data>
<Data>Data_2</Data>
<Data></Data>
</Root>

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:
<xsl:for-each select=<<param1>>[<<param2>>=<<param3>>]>
   <code>
   ...
   </code>
</xsl:for-each>

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.

cmb..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »