BizTalk Server General - Finding out the existance of element node in run time.

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > January 2006 > Finding out the existance of element node in run time.





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]

Author Finding out the existance of element node in run time.
Ramprasad

2006-01-25, 2:56 am

Hi,
I have an XML schema of the following order:

<element>
<RepeatingRecords>
<RecType01>
<RecType></RecType>
<RecSubType>A</RecSubType>
<CustomerNumber>102057018</CustomerNumber>
<BillAccountNumber>128770187</BillAccountNumber>
<ReferralGroupNumber>2</ReferralGroupNumber>
<CustomerType>R</CustomerType>
</RecType01>
</RepeatingRecords>
</element>
The XML schema is for a flat file and if the records are not there in the
input file for the schema then the node <RecType01> will not even occur.If
that node doestnt occur then i have to pass "0" to an element in the
Destination schema. please help me in this issue with your valuable inputs.

thanks,
Ram.

Scott Colestock

2006-01-27, 9:28 pm

Have you looked at the logical existence functoid ?

Scott Colestock
www.traceofthought.net


"Ramprasad" <Ramprasad@discussions.microsoft.com> wrote in message
news:2CB0D87F-97AA-4870-8103-F0B84FCB818A@microsoft.com...
> Hi,
> I have an XML schema of the following order:
>
> <element>
> <RepeatingRecords>
> <RecType01>
> <RecType></RecType>
> <RecSubType>A</RecSubType>
> <CustomerNumber>102057018</CustomerNumber>
> <BillAccountNumber>128770187</BillAccountNumber>
> <ReferralGroupNumber>2</ReferralGroupNumber>
> <CustomerType>R</CustomerType>
> </RecType01>
> </RepeatingRecords>
> </element>
> The XML schema is for a flat file and if the records are not there in the
> input file for the schema then the node <RecType01> will not even occur.If
> that node doestnt occur then i have to pass "0" to an element in the
> Destination schema. please help me in this issue with your valuable
> inputs.
>
> thanks,
> Ram.
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com