BizTalk Server General - Looping Functoid - Newbie

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > September 2004 > Looping Functoid - Newbie





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Looping Functoid - Newbie
Ryan

2004-09-02, 6:19 pm

Seems like a pretty basic operation, but I can't seem to make it
happen

Source:
<Root>
<Item>
<Name>A</Name>
<Value>1</Value>
</Item>
<Item>
<Name>B</Name>
<Value>2</Value>
</Item>
</Root>


Destination:
<Root>
<A></A>
<B></B>
</Root>

I've got a map set up with two equals functoids linking into
value-mapper functoids. The equals functoid has link from the Name
node in the source schema and a constant "A". The Value Mapper has a
second input from the Value node.

Iduplicated this for "B" as well. The equal/value functionality seems
to work, but my dest xml always looks like:

<Root>
<A>1</A>
</Root>

I can't get the B node in the dest xml. I know I need to use a looping
functoid, but i've added input links from 1 to All nodes in the source
schema, and the dest xml always looks the same.

Hope this makes sense. I'm thining its simple...I just can't make it
work.
Jeff Lynch

2004-09-02, 6:19 pm

Can you post (attach) your schemas and map?

--
Jeff Lynch
"A BizTalk Enthusiast"
http://dotnetjunkies.com/WebLog/jlynch/



"Ryan" <dragonwagon@hotmail.com> wrote in message
news:8c0711a0.0408311257.773bf0d@posting.google.com...
> Seems like a pretty basic operation, but I can't seem to make it
> happen
>
> Source:
> <Root>
> <Item>
> <Name>A</Name>
> <Value>1</Value>
> </Item>
> <Item>
> <Name>B</Name>
> <Value>2</Value>
> </Item>
> </Root>
>
>
> Destination:
> <Root>
> <A></A>
> <B></B>
> </Root>
>
> I've got a map set up with two equals functoids linking into
> value-mapper functoids. The equals functoid has link from the Name
> node in the source schema and a constant "A". The Value Mapper has a
> second input from the Value node.
>
> Iduplicated this for "B" as well. The equal/value functionality seems
> to work, but my dest xml always looks like:
>
> <Root>
> <A>1</A>
> </Root>
>
> I can't get the B node in the dest xml. I know I need to use a looping
> functoid, but i've added input links from 1 to All nodes in the source
> schema, and the dest xml always looks the same.
>
> Hope this makes sense. I'm thining its simple...I just can't make it
> work.



Ryan

2004-09-02, 6:20 pm

Can't seem to find a way to post the att

"Jeff Lynch" <jeff.lynch@houston-lynch.com> wrote in message news:<#$JX3l7jEHA.1560@TK2MSFTNGP10.phx.gbl>...[vbcol=seagreen]
> Can you post (attach) your schemas and map?
>
> --
> Jeff Lynch
> "A BizTalk Enthusiast"
> http://dotnetjunkies.com/WebLog/jlynch/
>
>
>
> "Ryan" <dragonwagon@hotmail.com> wrote in message
> news:8c0711a0.0408311257.773bf0d@posting.google.com...
Jeff Lynch

2004-09-02, 6:20 pm

Send me a email and I'll look them over.

--
Jeff Lynch
"A BizTalk Enthusiast"
http://dotnetjunkies.com/WebLog/jlynch/
jtlynch@houston.rr.com


"Ryan" <dragonwagon@hotmail.com> wrote in message
news:8c0711a0.0409011033.46f3cb11@posting.google.com...[vbcol=seagreen]
> Can't seem to find a way to post the att
>
> "Jeff Lynch" <jeff.lynch@houston-lynch.com> wrote in message
> news:<#$JX3l7jEHA.1560@TK2MSFTNGP10.phx.gbl>...


Ryan

2004-09-02, 6:20 pm

jeff.lynch@houston-lynch.com messages are bouncing
Jeff Lynch

2004-09-02, 8:47 pm

That address is my no-spam alias. Use jtlynch@houston.rr.com

--
Jeff Lynch
"A BizTalk Enthusiast"
http://dotnetjunkies.com/WebLog/jlynch/



"Ryan" <dragonwagon@hotmail.com> wrote in message
news:8c0711a0.0409021234.123036e6@posting.google.com...
> jeff.lynch@houston-lynch.com messages are bouncing



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com