|
Home > Archive > BizTalk Server General > July 2004 > xml-datatype
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]
|
|
| Venkat 2004-07-09, 3:31 pm |
| What is the difference between the "Base Data Type" under the Advanced category and the DataType in General category.
If I want to add a element of string type where should I actually put my datatype
The derived by category is :restriction.
I have a BTS2002 schema which i imported to BTS 2004 using the wizard and that It has created this(base datatype and datatype).In base datatype it is string and in datatype it is referring another element like this : Rec_No(Reference) (Rec_No is an elemen
t)
Now I am manually transferring (creating the schema newly). So what datatype should i declare?
Any help pls.
venkat
| |
| Christof [MVP] 2004-07-09, 3:31 pm |
| This depends on wheter you want to create a new derived type or just want to
refer to an existing type. Base Data Type is used when for example you want
to create a new simple type. Normally you'd use the DataType property.
Best regards,
Christof
--
Christof [Microsoft BizTalk Server MVP]
"Venkat" <Venkat@discussions.microsoft.com> wrote in message
news:2F0523E7-580B-4690-BA00-F48F86E91C42@microsoft.com...
> What is the difference between the "Base Data Type" under the Advanced
category and the DataType in General category.
>
> If I want to add a element of string type where should I actually put my
datatype
> The derived by category is :restriction.
>
> I have a BTS2002 schema which i imported to BTS 2004 using the wizard and
that It has created this(base datatype and datatype).In base datatype it is
string and in datatype it is referring another element like this :
Rec_No(Reference) (Rec_No is an element)
>
> Now I am manually transferring (creating the schema newly). So what
datatype should i declare?
>
> Any help pls.
> venkat
>
| |
| Venkat 2004-07-09, 3:31 pm |
| Thanks christof,
It means that if I want to declare a the datatype by restriction then I need to declare in it in "datatype" and not in "basedatatype". Right?
Thanks,
Venkat.
"Christof [MVP]" wrote:
> This depends on wheter you want to create a new derived type or just want to
> refer to an existing type. Base Data Type is used when for example you want
> to create a new simple type. Normally you'd use the DataType property.
>
> Best regards,
> Christof
>
> --
> Christof [Microsoft BizTalk Server MVP]
>
> "Venkat" <Venkat@discussions.microsoft.com> wrote in message
> news:2F0523E7-580B-4690-BA00-F48F86E91C42@microsoft.com...
> category and the DataType in General category.
> datatype
> that It has created this(base datatype and datatype).In base datatype it is
> string and in datatype it is referring another element like this :
> Rec_No(Reference) (Rec_No is an element)
> datatype should i declare?
>
>
>
| |
| Tatyana Yakushev [MSFT] 2004-07-09, 3:31 pm |
| When you want to derive data type by restriction you need to select base data type at the "Base Data Type" property.
Actually BizTalk is smart enough to move value of Data Structure Type property to the Base Data Type property when you change derived by to "Restriction" from
"(default)".
If your BizTalk 2002 (XDR) schema didn't have enumeration or lenth limitations on the field then you can select xs:string at the "data structure type" property.
Otherwise you need to declare new data type derived by restriction.
(Are you creating schema from scratch? You can generate schema from XML message and then change few properties to further restrict it. This saves a lot of time).
Thanks,
Tatyana
--------------------
>Thread-Topic: xml-datatype
>thread-index: AcRlYhXjJczWt6ixTyelolpn97wVHA==
>X-WBNR-Posting-Host: 210.18.76.10
>From: =?Utf-8?B?VmVua2F0?= <Venkat@discussions.microsoft.com>
>References: <2F0523E7-580B-4690-BA00-F48F86E91C42@microsoft.com> <OT2RykQZEHA.2844@TK2MSFTNGP12.phx.gbl>
>Subject: Re: xml-datatype
>Date: Thu, 8 Jul 2004 20:09:02 -0700
>Lines: 41
>Message-ID: <7E68E164-90F7-4B47-AA3E-C66015239B12@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 127.0.0.1
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:17054
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Thanks christof,
> It means that if I want to declare a the datatype by restriction then I need to declare in it in "datatype" and not in "basedatatype". Right?
>
>Thanks,
>Venkat.
>
>"Christof [MVP]" wrote:
>
>
--
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
|
|
|
|
|