Class XmlSchema
Provides common XML schema definitions and helper methods.
Inheritance
System.Object
XmlSchema
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Utility
Assembly: ComponentSpace.Saml2.dll
Syntax
public static class XmlSchema
Remarks
Refer to the W3C XML Schema specification for further details.
Methods
GetQualifiedSimpleType(String)
Gets the qualified simple type by prefixing it with the XML schema prefix. For example, the qualified simple type for "string" is "xs:string".
Declaration
public static string GetQualifiedSimpleType(string simpleType)
Parameters
Type | Name | Description |
---|---|---|
System.String | simpleType | The simple type to be qualified. |
Returns
Type | Description |
---|---|
System.String | The qualified simple type. |
GetSimpleType(String)
Gets the simple type by removing the XML schema prefix from the qualified name. For example, the simple type for "xs:string" is "string".
Declaration
public static string GetSimpleType(string qualifiedSimpleType)
Parameters
Type | Name | Description |
---|---|---|
System.String | qualifiedSimpleType | The qualfied simple type. |
Returns
Type | Description |
---|---|
System.String | The simple type. |