Hi Mike,
You can get the mapping between the XML Schema (XSD) type and .Net
Framework type in the link below:
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpcondatatypesu pportbetweenxsd typesnetframewo rktypes.asp
In the mapping table in the link, you can see that there may be the same
..Net Framework type but maps with multi XML Schema (XSD) type (Such as
hexBinary and base64Binary both map with System.Byte[]). So what you want
is not a single-mapping.
However, there is XmlSchemaDataty pe.ValueType property which can get the
..NET Framework type for the specified XML Schema definition language (XSD)
type.
Hope this helps,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| From: "Mike Strieder" <x@x.com>
| Subject: XML Schema (XSD) type <-> .NET Framework type
| Date: Sat, 18 Oct 2003 17:44:18 +0200
| Lines: 7
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <ek************ **@TK2MSFTNGP12 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
| NNTP-Posting-Host: line-g-15.adsl-dynamic.inode.a t 62.99.226.15
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1923 20
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
|
| How can i get the text of the System.Type e.g. "base64Bina ry" from the
..Net
| type "byte[]"
| I can not found any Function to give back this Schematype as string.
|
| thx for your help
|
|
|