Skip to Content
.NET & XML
book

.NET & XML

by Niel M. Bornstein
November 2003
Intermediate to advanced
476 pages
14h 38m
English
O'Reilly Media, Inc.
Content preview from .NET & XML

Name

XmlSchemaSimpleContentRestriction — System.Xml.Schema (system.xml.dll)    class 

Synopsis

public class XmlSchemaSimpleContentRestriction : XmlSchemaContent {
// Public Constructors
   public XmlSchemaSimpleContentRestriction( );  
// Public Instance Properties
   public XmlSchemaAnyAttribute AnyAttribute{set; get; } 
   public XmlSchemaObjectCollection Attributes{get; } 
   public XmlSchemaSimpleType BaseType{set; get; } 
   public XmlQualifiedName BaseTypeName{set; get; } 
   public XmlSchemaObjectCollection Facets{get; } 
}

This type represents the xs:restriction XML Schema type for simple content, which allows for the creation of a new simple type with additional constraints on its attributes and on its text content. The BaseTypeName property is used to access the System.Xml.XmlQualifiedName of the type being extended, and the Attributes property returns an XmlSchemaObjectCollection of attributes as XmlSchemaAttributes and XmlSchemaAttributeGroupRefs. The Facets property returns an XmlSchemaObjectCollection of the XmlSchemaFacets that restrict its text content.

Hierarchy

System.ObjectXmlSchemaObjectXmlSchemaAnnotatedXmlSchemaContentXmlSchemaSimpleContentRestriction

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied XML Programming for Microsoft® .NET

Applied XML Programming for Microsoft® .NET

Dino Esposito
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0596003978Supplemental ContentErrata