03-13-06 07:47 AM
There is a few options:
If your data cannot be singular (promoted and distinguished fields can only
occur one time), you can do two things:
1. Make two objects, the first one occurs once, the second occurs
multiple times and then promote or distinguish the first object.
2. Use xpath to parse the first one (or whichever object you need)
following this example:
(System.String)xpath(InputMsg,"string('\root\record[1]\element')"=="Valu
e"
Hope that this helps:
Eric
http://stottcreations.com/blog
"Lakshimi" <Lakshimi@discussions.microsoft.com> wrote in message
news:1D288E34-DA88-45C3-80FE-7FD0BD47397D@microsoft.com...[vbcol=seagreen]
> Hi Eric,
>
> Thankyou for your fast response.
>
> It says that the expression is not valid.
>
> But i haven't promote or distinguished.
>
> So , after creating schema , do i have to promote or distinguish to use
> it in expressions ?
>
> I faced another problem while trying to promote .It gives error as
> "This node can occur potentially multiple times in the instance document
> .Only nodes which are guaranteed to be unique can be promoted "
>
> That means always should my record node Maxoccurs be 1?
>
> Since i just started to use BTS , I am quite comfortable with
> receive -->construct --> Send and not clear with advanced options.
>
>
>
> "Eric Stott" wrote:
>
[ Post a follow-up to this message ]
|