Re: Logical Functoid



Hi Baskar,
What you need to do is connect the testinput node to "String Left Trim"
functoid, the output of that to an "String Right Trim" functoid, this will
ensure that spaces on both sides if any, are removed.

The output of this should be directed to an Equal logical functoid as one of
the parameter, the other parameter should be a hardcoded empty string inside
the functoid like this "".

The output of this should be directed to the value mapping functoid, as the
first parameter second parameter should be directly from the testinput.

the output of the value mapping should go to the output schema.

if are not able to do it, do send me the solution zipped to my email, I can
do it and send it to you.

HTH

--
Regards
Benny Mathew
Seamless Integration Solutions
BizTalk Consulting, Development, Training
Bangalore, India
Cell: +91-9945602604 / Office: +91-80-41676177
http://www.seamless.in
http://GeeksWithBlogs.net/benny



"BASKAR BV" <BASKARBV@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:022B5510-F5AD-4F89-BEC6-F6B819155F1F@xxxxxxxxxxxxxxxx
i have input messge as

<testinput> </testinput>
<testinput>1000</testinput>

This is not limited. minoccurs & maxoccurs are specified in the schema
type.
When i get this kind of message i have to create element in output
message
only for non-blank elements.
like
<testinput>1000</testinput>

Appreciate your help.


.



Relevant Pages

  • Re: Creating Mapping
    ... I used Lutz Roeder reflector to modify the Cumulative Concatenation functoid. ... private string GetCSharpAddToBuffer() { ...
    (microsoft.public.biztalk.general)
  • Re: String Left Functoid Does Not Return a Value
    ... Drag and Drop the "String Left" functoid into the grid. ... Drag and Connect the source node to "String Left" funtoid. ... Drag and Connect the "String Left" functoid to the destination node. ...
    (microsoft.public.biztalk.general)
  • Re: Custom Functoid
    ... Look at the string concatenate functoid, the function in the generated XSLT ... Microsoft BizTalk Server ... | method match and can't signature match for a "params Stringplist" type ...
    (microsoft.public.biztalk.general)
  • RE: String Left Functoid Does Not Return a Value
    ... Already recreated the functoid in many combinations. ... String Concatenate did work. ... recreated my project and added both anew source and destination schema with ... I would think that the xpath statement should be there. ...
    (microsoft.public.biztalk.general)
  • Re: How to get empty node after mapping
    ... Using a string extract functoid with an empty first parameter and 0 for the ... >> I have 50 fieldsinput xml and 200 fields output xml. ...
    (microsoft.public.biztalk.general)

Loading