08-27-04 11:06 PM
If you are using a map to produce the output, then you should use
conditional mapping inside it, so that the XSLT does not generate elements
when there is no source value. Mostly you will have to use the logical
functoids in tandem with the Value Mapping functoid.
Regards
Dev
"rnsdas" <rnsdas@discussions.microsoft.com> wrote in message
news:1013D199-47DA-4D4E-92D9-8315BFD77B2C@microsoft.com...
> Hello,
>
> I have deployed my Orchestration as a Webservice.
>
> The Schemas has many elements which has nillable ="true". If a particular
> response has NO value , i.e if it is null (which is perfectly fine), I do
not
> want it to be a part of the XML output.
>
> e.g: My current output response is like this:
> <entityReferenceNumber/>
> <entitySupervisor>John A</entitySupervisor>
> <dataReferenceNumber/>
> : :
>
> I want that the output should NOT have tags which are not having any
> information. Hence I would like my output to be as follows:
> <entitySupervisor>John A</entitySupervisor>
> ::
>
> Can anyone suggest me the way to do it.
>
> Thanks and regards,
> Milan Doshi
[ Post a follow-up to this message ]
|