on 03-23-2008 5:57 AM
wat r the different types of data types used in xi?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
http://help.sap.com/saphelp_nw04/helpdata/en/de/705c3c3806af06e10000000a11402f/frameset.htm
Chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.