|
Home > Archive > BizTalk Server > September 2006 > Mapping Issue
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]
|
|
| Ray Mooney 2006-08-31, 7:35 pm |
| I need to map a 'single-space' into a destination field, with a source-field
that is equal-to 1.
Is this possible?
I have used about all the functoids that I think would be used and I can not
get a 'space' mapped. All I get is an end-tag like <Value1/>. What I need is
<value1> </value1>
Thanks for any help with this!!
| |
| Greg Forsythe 2006-09-01, 1:32 am |
| How about a scripting functoid with some inline C# code:
public string TestForOne(string param1)
{
if (param1 = "1")
return " ";
else
return param1;
}
Greg
"Ray Mooney" <ray@mooney.net> wrote in message
news:O2oJiJUzGHA.3584@TK2MSFTNGP02.phx.gbl...
>I need to map a 'single-space' into a destination field, with a
>source-field
> that is equal-to 1.
>
> Is this possible?
>
> I have used about all the functoids that I think would be used and I can
> not
> get a 'space' mapped. All I get is an end-tag like <Value1/>. What I need
> is
> <value1> </value1>
>
> Thanks for any help with this!!
>
>
| |
| Jan Eliasen 2006-09-03, 7:23 am |
| On Thu, 31 Aug 2006 16:15:27 -0500, "Ray Mooney" <ray@mooney.net>
wrote:
>I need to map a 'single-space' into a destination field, with a source-field
>that is equal-to 1.
>
>Is this possible?
>
>I have used about all the functoids that I think would be used and I can not
>get a 'space' mapped. All I get is an end-tag like <Value1/>. What I need is
><value1> </value1>
Depending on what you are doing, it might very well be that you have
the space in the document. But lots of programs, when viewing XML will
display it as <value1 /> instead of showing you the starttag, endtag
and the space. IE will do that, for instance. Try opening the result
of your map in a text editor instead and see what is contained in the
message.
--
eliasen, representing himself and not the company he works for.
private email: jan@eliasen.dk
|
|
|
|
|