Class XmlSchemaUtil
This class holds helper methods for XML Schema reading and writing
Inherited Members
Namespace: SuperOffice.Util
Assembly: SoCore.dll
Syntax
public class XmlSchemaUtil
Constructors
XmlSchemaUtil()
This class holds helper methods for XML Schema reading and writing
Declaration
public XmlSchemaUtil()
Methods
ConvertToSchemaType(Type, string)
Returns the correct Schema type from the CLR type. To be used when writing Schemas without using a XMLWriter class
Declaration
public static string ConvertToSchemaType(Type type, string prefix)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The CLR type |
string | prefix | The prefix of the Schema type, for instance tns to make the result tns:string for a String type |
Returns
Type | Description |
---|---|
string | Name of the Schema type as string. |