XDR Schema Data Types Reference 
This page is specific to:.NET Framework Version:2.03.03.54.0
 
XDR Schema Data Types Reference 

In addition to the string and other primitive types defined by the World Wide Web Consortium (W3C) XML 1.0 Recommendation, Microsoft® XML Core Services (MSXML) supports a rich set of data types. It also supports conversions between the primitive types and these rich data types.

Data types are referenced from the data type namespace "urn:schemas-microsoft-com:datatypes". To use data types within an XML schema, declare the data type namespace within the schema document. This documentation assumes that the data type namespace has been assigned the dt prefix, as shown in the following example.

<Schema name="myschema"
        xmlns="urn:schemas-microsoft-com:xml-data"
        xmlns:dt="urn:schemas-microsoft-com:datatypes">
  <!-- ... -->
</Schema>

XDR schema support has been removed from MSXML 6.0 and later.

XDR data type support continues to be available in MSXML 6.0, even though XDR schema support has been removed. In MSXML 6.0, you can declare an element to be of a certain type as follows:

<root xmlns:dt="urn:schemas-microsoft-com:datatypes">

<count dt:dt="int" >5</count>

<price dt:dt="number" >44.95</count>

</root>

See Also

Reference

XDR Schema Data Types
Primitive XDR Schema Data Types
Supported Data Type Conversions
XDR Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View