Class XmlSchemaDefinition
Provides XML schema types.
Since 3.0.x
Availability netstandard2.0
Inheritance
Object
XmlSchemaDefinition
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: NodaTime.Xml
Assembly: NodaTime.dll
Syntax
public static class XmlSchemaDefinition
Properties
NodaTimeXmlNamespace
Gets the XML namespace for all NodaTime types.
Since 3.0.x
Availability netstandard2.0
Declaration
public static XmlQualifiedName NodaTimeXmlNamespace { get; }
Property Value
Type | Description |
---|---|
XmlQualifiedName |
Remarks
See [Namespaces in XML 1.1 (Second Edition)](https://www.w3.org/TR/xml-names11/).
NodaTimeXmlSchema
Gets the compiled XML schema describing the structure for all NodaTime types that implement the System.Xml.Serialization.IXmlSerializable interface.
Since 3.0.x
Availability netstandard2.0
Declaration
public static XmlSchema NodaTimeXmlSchema { get; }
Property Value
Type | Description |
---|---|
XmlSchema |
Remarks
All the pattern restrictions as regular expressions are not meant to fully validate the XML content,
they only serve to describe the general shape of the XML content.