| Author |
Looping Functoid - Newbie
|
|
|
| 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.
| |
|
| 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>...
| |
|
| 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
|
|
|
|