cancel
Showing results for 
Search instead for 
Did you mean: 

hi

Former Member
0 Kudos

wat r the different types of data types used in xi?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Chirag have already explained..just extending to it...

http://www.w3.org/TR/xmlschema-2/#datatype

Data Type Categories

1. Built-In Type :

Built-in data types are part of the XML schema language and have the prefix xsd. Built-in datatypes are those which are defined in this specification, and can be either ·primitive· or ·derived·;

Refer Hirrarchy of Built in data types

http://www.w3.org/TR/xmlschema-2/#built-in-datatypes

2. Simple Type :

Simple Type definitions provide for establishing the ·value space· and ·lexical space· of a datatype, through the combined set of ·constraining facet·s specified in the definition

http://www.w3.org/TR/xmlschema-2/#dc-defn

3. Complex Type

Data types that consists of further sub-elements and attributes of either Built-in Type or Simple Type.. This enables large complex data types to be structured using smaller complex data types.

If you're talking about standard XML schema data types used in the XI they are (should be) the same as in standard

The list of Data types and their properties

http://help.sap.com/saphelp_nw04/helpdata/en/de/705c3c3806af06e10000000a11402f/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/44/45f4c9f1f014bce10000000a155369/frameset.htm

http://www.xml.dvint.com/docs/SchemaDataTypesQR-1.pdf

http://msdn2.microsoft.com/en-us/library/ms189887.aspx

http://www.webreference.com/xml/column61/

Thanks

Swarup

Former Member
0 Kudos

Hi,

Data Type Categories

1) Built-In Type

Built-in data types are part of the XML schema language and have the prefix xsd. (They can also be subdivided into primitive and derived data types, but this is not important in the definition of data types). XML schema defines a value range for each built-in data type.

Example:

xsd:string

xsd:decimal

xsd:integer

2) Simple Type

Simple data types refine built-in data types, for example, by limiting the length of a string or by specifying a specific value range. Like built-in data types, they do not contain any further elements.

Example:

<simpleType

name=“germanPhoneNumber“

base=“string“>

<pattern

value=“?d?/?d“ />

</simpleType>

3) Complex Type

Data types that can contain further elements and attributes. Elements and attributes can in turn reference built-in, simple, complex, or global data types. This enables large complex data types to be structured using smaller complex data types.

Example:

<complexType name=“person“>

<element

name=“firstname“

type=“string“ />

<element

name=“lastname“

type=“string“ />

http://help.sap.com/saphelp_nw04/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm

Refer the below link for more detail:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25c78f79-0801-0010-1e8d-c7f911cf...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8b749279-0801-0010-6396-bbbb50f9...

http://help.sap.com/saphelp_nw04/helpdata/en/de/705c3c3806af06e10000000a11402f/frameset.htm

Chirag