|
Home > Archive > BizTalk Server General > March 2005 > Mapping an <xs:choice/>
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 |
Mapping an <xs:choice/>
|
|
| Craig Neuwirt 2005-02-28, 5:53 pm |
| I am trying to map a source schema that contains the an <xs:choice> with 2
elements to a destination schema containing an <xs:choice> with 2 elements.
I try to map the 2 corresponding choices individually, but they both seem to
show up in the transformed xml. Is there anything special that has to be
done to map an <xs:choice/>. Do I need to do a logical existence functiond
for each choice element?
thanks,
Craig
| |
| Tan Nguyen 2005-02-28, 8:48 pm |
| Use the logical existence funtoid with the value mapping functoid.
Regards,
Tan Nguyen
Microsoft BizTalk Server
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Reply-To: "Craig Neuwirt" <cneuwirt@emsinet.com>
| From: "Craig Neuwirt" <cneuwirt@emsinet.com>
| Subject: Mapping an <xs:choice/>
| Date: Mon, 28 Feb 2005 15:40:35 -0600
| Lines: 12
| Organization: EMSI
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
| Message-ID: <euTJd7dHFHA.2456@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.biztalk.general
| NNTP-Posting-Host: 65.170.227.50
| Path:
TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.biztalk.general:25035
| X-Tomcat-NG: microsoft.public.biztalk.general
|
| I am trying to map a source schema that contains the an <xs:choice> with 2
| elements to a destination schema containing an <xs:choice> with 2
elements.
| I try to map the 2 corresponding choices individually, but they both seem
to
| show up in the transformed xml. Is there anything special that has to be
| done to map an <xs:choice/>. Do I need to do a logical existence
functiond
| for each choice element?
|
| thanks,
| Craig
|
|
|
|
| |
| Craig Neuwirt 2005-03-01, 5:55 pm |
| Tan,
Can you explain how I would use the logical existence in conjunction with
the value mapping functoid?
thanks,
craig
"Tan Nguyen" <tanbn@online.microsoft.com> wrote in message
news:kYiDxifHFHA.1140@TK2MSFTNGXA02.phx.gbl...
> Use the logical existence funtoid with the value mapping functoid.
>
> Regards,
> Tan Nguyen
> Microsoft BizTalk Server
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> --------------------
> | Reply-To: "Craig Neuwirt" <cneuwirt@emsinet.com>
> | From: "Craig Neuwirt" <cneuwirt@emsinet.com>
> | Subject: Mapping an <xs:choice/>
> | Date: Mon, 28 Feb 2005 15:40:35 -0600
> | Lines: 12
> | Organization: EMSI
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
> | Message-ID: <euTJd7dHFHA.2456@TK2MSFTNGP09.phx.gbl>
> | Newsgroups: microsoft.public.biztalk.general
> | NNTP-Posting-Host: 65.170.227.50
> | Path:
>
TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP0
> 8.phx.gbl!TK2MSFTNGP09.phx.gbl
> | Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.biztalk.general:25035
> | X-Tomcat-NG: microsoft.public.biztalk.general
> |
> | I am trying to map a source schema that contains the an <xs:choice> with
2
> | elements to a destination schema containing an <xs:choice> with 2
> elements.
> | I try to map the 2 corresponding choices individually, but they both
seem
> to
> | show up in the transformed xml. Is there anything special that has to
be
> | done to map an <xs:choice/>. Do I need to do a logical existence
> functiond
> | for each choice element?
> |
> | thanks,
> | Craig
> |
> |
> |
> |
>
| |
| Craig Neuwirt 2005-03-01, 5:55 pm |
| When I trired this, the resulting xml still contained all the choice
elements.
"Tan Nguyen" <tanbn@online.microsoft.com> wrote in message
news:kYiDxifHFHA.1140@TK2MSFTNGXA02.phx.gbl...
> Use the logical existence funtoid with the value mapping functoid.
>
> Regards,
> Tan Nguyen
> Microsoft BizTalk Server
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> --------------------
> | Reply-To: "Craig Neuwirt" <cneuwirt@emsinet.com>
> | From: "Craig Neuwirt" <cneuwirt@emsinet.com>
> | Subject: Mapping an <xs:choice/>
> | Date: Mon, 28 Feb 2005 15:40:35 -0600
> | Lines: 12
> | Organization: EMSI
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
> | Message-ID: <euTJd7dHFHA.2456@TK2MSFTNGP09.phx.gbl>
> | Newsgroups: microsoft.public.biztalk.general
> | NNTP-Posting-Host: 65.170.227.50
> | Path:
>
TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP0
> 8.phx.gbl!TK2MSFTNGP09.phx.gbl
> | Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.biztalk.general:25035
> | X-Tomcat-NG: microsoft.public.biztalk.general
> |
> | I am trying to map a source schema that contains the an <xs:choice> with
2
> | elements to a destination schema containing an <xs:choice> with 2
> elements.
> | I try to map the 2 corresponding choices individually, but they both
seem
> to
> | show up in the transformed xml. Is there anything special that has to
be
> | done to map an <xs:choice/>. Do I need to do a logical existence
> functiond
> | for each choice element?
> |
> | thanks,
> | Craig
> |
> |
> |
> |
>
| |
| Tan Nguyen 2005-03-03, 5:53 pm |
| Add a logical existence and a value mapping functoid for each field in the
choice group. Then link both value mapping to the destination field. For
more info, please refer to the BizTalk Server documentation. If you still
need more details, send me your schemas, map, input file, and expected
output file.
Regards,
Tan Nguyen
Microsoft BizTalk Server
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Reply-To: "Craig Neuwirt" <cneuwirt@emsinet.com>
| From: "Craig Neuwirt" <cneuwirt@emsinet.com>
| References: <euTJd7dHFHA.2456@TK2MSFTNGP09.phx.gbl>
<kYiDxifHFHA.1140@TK2MSFTNGXA02.phx.gbl>
| Subject: Re: Mapping an <xs:choice/>
| Date: Tue, 1 Mar 2005 08:34:58 -0600
| Lines: 62
| Organization: EMSI
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
| Message-ID: <uQfATymHFHA.3244@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.biztalk.general
| NNTP-Posting-Host: 65.170.227.50
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTCMTY1.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.biztalk.general:25056
| X-Tomcat-NG: microsoft.public.biztalk.general
|
| Tan,
|
| Can you explain how I would use the logical existence in conjunction
with
| the value mapping functoid?
|
| thanks,
| craig
|
| "Tan Nguyen" <tanbn@online.microsoft.com> wrote in message
| news:kYiDxifHFHA.1140@TK2MSFTNGXA02.phx.gbl...
| > Use the logical existence funtoid with the value mapping functoid.
| >
| > Regards,
| > Tan Nguyen
| > Microsoft BizTalk Server
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| > --------------------
| > | Reply-To: "Craig Neuwirt" <cneuwirt@emsinet.com>
| > | From: "Craig Neuwirt" <cneuwirt@emsinet.com>
| > | Subject: Mapping an <xs:choice/>
| > | Date: Mon, 28 Feb 2005 15:40:35 -0600
| > | Lines: 12
| > | Organization: EMSI
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
| > | Message-ID: <euTJd7dHFHA.2456@TK2MSFTNGP09.phx.gbl>
| > | Newsgroups: microsoft.public.biztalk.general
| > | NNTP-Posting-Host: 65.170.227.50
| > | Path:
| >
|
TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP0
| > 8.phx.gbl!TK2MSFTNGP09.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.biztalk.general:25035
| > | X-Tomcat-NG: microsoft.public.biztalk.general
| > |
| > | I am trying to map a source schema that contains the an <xs:choice>
with
| 2
| > | elements to a destination schema containing an <xs:choice> with 2
| > elements.
| > | I try to map the 2 corresponding choices individually, but they both
| seem
| > to
| > | show up in the transformed xml. Is there anything special that has to
| be
| > | done to map an <xs:choice/>. Do I need to do a logical existence
| > functiond
| > | for each choice element?
| > |
| > | thanks,
| > | Craig
| > |
| > |
| > |
| > |
| >
|
|
|
|
|
|
|
|