| Author |
How to get empty node after mapping
|
|
| s_v_krishnan 2005-06-27, 5:51 pm |
| Hi All,
I have 50 fields(nodes) input xml and 200 fields output xml. I am
mapping these 2 xmls. Everything is working fine But the output xml
is NOT showing with 200 nodes. It is showing only the fields whatever
I mapped. But I need to send to another application with 200 fields,
if the node is not mapped then it has to give with null values.
If there any property to set that ?
Thanks in advance.
Vijay
| |
| Stephen W. Thomas 2005-06-27, 5:51 pm |
| Hello.
The only way I have found to accomplish this is to use a custom script
functoid and pass an empty string to the node that I wanted created.
The code looked like this:
public string CreateNodes()
{
return "";
}
I just created one functoid and mapped it to all my nodes I wanted created.
Hope this helps.
Stephen W. Thomas
http://www.biztalkgurus.com
"s_v_krishnan" wrote:
> Hi All,
> I have 50 fields(nodes) input xml and 200 fields output xml. I am
> mapping these 2 xmls. Everything is working fine But the output xml
> is NOT showing with 200 nodes. It is showing only the fields whatever
> I mapped. But I need to send to another application with 200 fields,
> if the node is not mapped then it has to give with null values.
>
> If there any property to set that ?
>
> Thanks in advance.
>
> Vijay
>
>
| |
| Scott Colestock 2005-06-27, 5:51 pm |
| Using a string extract functoid with an empty first parameter and 0 for the
2nd and 3rd parameters works as well.
Scott Colestock
www.traceofthought.net
"Stephen W. Thomas" <StephenWThomas@discussions.microsoft.com> wrote in
message news:C9F7BECD-FC62-4609-A7FB-E7E12B1ECDA2@microsoft.com...[vbcol=seagreen]
> Hello.
>
> The only way I have found to accomplish this is to use a custom script
> functoid and pass an empty string to the node that I wanted created.
>
> The code looked like this:
> public string CreateNodes()
> {
> return "";
> }
>
> I just created one functoid and mapped it to all my nodes I wanted
> created.
>
> Hope this helps.
>
> Stephen W. Thomas
> http://www.biztalkgurus.com
>
>
> "s_v_krishnan" wrote:
>
|
|
|
|