Re: XmlNode as the custom functoid input
From: Raj (Raj_at_discussions.microsoft.com)
Date: 02/02/05
- Next message: Michael: "Message Subscription"
- Previous message: Phillip Evans: "Re: XmlNode as the custom functoid input"
- In reply to: Phillip Evans: "Re: XmlNode as the custom functoid input"
- Next in thread: Phillip Evans: "Re: XmlNode as the custom functoid input"
- Reply: Phillip Evans: "Re: XmlNode as the custom functoid input"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Feb 2022 17:01:02 -0800
Hi Phil,
Unfortunately I couldnt pass a XML node structure to a custom functoid. Per
my understanding, a custom functoid is no different than a scripting functoid
being called from within the XSLT. When we call a functoid, we can pass in
either the value of the node or the the name of the node, not the node
itself. Iam not sure how the Mass functoid does it though!Also, the mass
functoid makes me believe that its possible but all my effort was no good.I
tried by changing the appropriate connection type for the
AddInputConnectionType method and the input argument type for the function it
gets called but no good :-(
Anyhow, I was able to satisfy my requirement with a combination of advanced
fucntoids and logical functoids.
Incase if you didnt know, the best thing for debugging a map is to check the
XSLT generated out during validating map files and by looking at the XSLT, we
can get a much clear picture of what each functoid does!
Use the scripting functoid with Inline XLST incase if you couldnt get it
working by Biztalk default /custom functoids.
Thanks
Raj
"Phillip Evans" wrote:
> G'day Raj.
>
> I am also trying to write a custom functoid that takes an XMLNode as input.
>
> My fallback plan is to create a functoid that spits out an XSLT fragment to
> do what I need done (and I think this would work for you).
>
> I was wondering if you had managed to find an answer to your query (below)?
>
> If so, would you mind sharing it please? It looks to me like custom
> functoids can't access the XML DOM at all but the Mass Copy functoid clearly
> IS doing it so it must be possible (whether it's supported or not is an
> entirely different question).
>
> Thanks in anticipation,
>
> Phil.
>
>
>
> "Raj" <Raj@discussions.microsoft.com> wrote in message
> news:95E39B8B-52D7-4228-B81A-C7A89A6D963D@microsoft.com...
>
> >I have an input XML as below
> >
> > <Book>
> > <BookType>English</BookType>
> > <Name>Intro to English</Name>
> > </Book>
> > <Book>
> > <BookType>Science</BookType>
> > <Name>Intro to Science</Name>
> > </Book>
> > <Book>
> > <BookType>History</BookType>
> > <Name>Intro to History</Name>
> > </Book>
> >
> > and the output should look like
> >
> > <English>
> > <Name>Intro to English</Name>
> > </English>
> > <Science>
> > <Name>Intro to English</Name>
> > </Science>
> > <History>
> > <Name>Intro to History</Name>
> > </History>
> >
> >
> > Iam trying to build a custom funtoid to accept XmlNode and give the output
> > values as strings.Anybody know how to define XmlNode as the input param
> > for
> > the custom functoids?
> > Thanks
> > Raj
> >
>
>
>
- Next message: Michael: "Message Subscription"
- Previous message: Phillip Evans: "Re: XmlNode as the custom functoid input"
- In reply to: Phillip Evans: "Re: XmlNode as the custom functoid input"
- Next in thread: Phillip Evans: "Re: XmlNode as the custom functoid input"
- Reply: Phillip Evans: "Re: XmlNode as the custom functoid input"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
- Re: XmlNode as the custom functoid input
... G'day Raj. ... I am also trying to write a custom functoid that takes
an XMLNode as input. ... (microsoft.public.biztalk.general) - Custom Functoid - intermitment toolbar image
... I'm using BizTalk 2004 SP1 on a Win2k server machine. ... I've compiled the
Custom Functoid example from the SDK. ... clicked Reset and the functoid bitmaps
appear under the String ... (microsoft.public.biztalk.general) - Re: XmlNode as the custom functoid input
... I reckon it looks like the Mass Copy functoid cheats and gets access to the
... So I've created a custom functoid that implements an XSLT call template. ...
(microsoft.public.biztalk.general) - RE: Single-Multi catalog to Single Catalog mapping??
... You can use a Scripting functoid and write the XSLT to do the mapping. ...
Single-Multi catalog to Single Catalog mapping?? ... (microsoft.public.biztalk.general) - Re: Multiple source files to one destination schema.. Looping functoid?
... Just realized that you may want to have XML to try the map with. ... Tatyana
... >> May be in your case you don't need to use looping functoid. ... Use
of included script samples are subject to the terms specified at ... (microsoft.public.biztalk.general)