Class XmlSchemaDefinition
Provides XML schema types.
Since 3.0.x
Availability net6.0, net8.0, netstandard2.0
Inherited Members
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 net6.0, net8.0, 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 IXmlSerializable interface.
Since 3.0.x
Availability net6.0, net8.0, 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.