I need to set the default value to destination depending on the input from Source schema.
The problem is that in the inbound XML file Source node may appear or may not.Following is the source schema structure.
<TicketReferenceValue TicketReferenceValueType="AC">test</TicketReferenceValue> this node may not be appear in the source then I need to set the default value as "ANY" in destination.
If the node is present it will take the TEST as value.
But how to set the default as ANY if complete node is not present in the source schema.
Can any one having the same scenario, can I use the INLINE XSLT for the same.
use inline xslt template and include following line:
xsl:if test="$param and normalize-space($param) !=''"
You can use Inline XSLT (as proposed) or Inline C#.
If you prefer to use standard functoids, I would suggest the Logical Functoid or simply the String Size functoid with a Logical Greater than functoid, if TicketReferenceValue = "" is equivalent to "no TicketReferenceValue" .Then you can use the value mapping functoid to map the value or a string constant "ANY".
<<Yes, we can>>
Did he speak about Biztalk?