Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Dom / XmlImplementation.cs / 1305376 / XmlImplementation.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System.Globalization; namespace System.Xml { // Provides methods for performing operations that are independent of any // particular instance of the document object model. public class XmlImplementation { private XmlNameTable nameTable; // Initializes a new instance of the XmlImplementation class. public XmlImplementation() : this( new NameTable() ) { } public XmlImplementation( XmlNameTable nt ) { nameTable = nt; } // Test if the DOM implementation implements a specific feature. public bool HasFeature(string strFeature, string strVersion) { if (String.Compare("XML", strFeature, StringComparison.OrdinalIgnoreCase) == 0) { if (strVersion == null || strVersion == "1.0" || strVersion == "2.0") return true; } return false; } // Creates a new XmlDocument. All documents created from the same // XmlImplementation object share the same name table. public virtual XmlDocument CreateDocument() { return new XmlDocument( this ); } internal XmlNameTable NameTable { get { return nameTable; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexGroup.cs
- SoapFaultCodes.cs
- Context.cs
- Transform.cs
- ISessionStateStore.cs
- BaseDataListComponentEditor.cs
- MailHeaderInfo.cs
- MonitorWrapper.cs
- XamlTreeBuilderBamlRecordWriter.cs
- PropertyChangedEventManager.cs
- QuotaThrottle.cs
- DefaultBinder.cs
- Setter.cs
- HtmlEmptyTagControlBuilder.cs
- DoubleLinkList.cs
- parserscommon.cs
- SecurityStandardsManager.cs
- ButtonBase.cs
- AuthStoreRoleProvider.cs
- WCFServiceClientProxyGenerator.cs
- RectIndependentAnimationStorage.cs
- LayoutInformation.cs
- XmlSchemaImporter.cs
- SchemaLookupTable.cs
- DataTablePropertyDescriptor.cs
- X509Certificate2.cs
- MethodCallTranslator.cs
- TransportContext.cs
- ChangeInterceptorAttribute.cs
- CompilerScopeManager.cs
- FixedBufferAttribute.cs
- ColorPalette.cs
- ConfigXmlElement.cs
- ConfigDefinitionUpdates.cs
- MembershipUser.cs
- TimeStampChecker.cs
- TTSEvent.cs
- OLEDB_Enum.cs
- _IPv6Address.cs
- pingexception.cs
- DataTableReader.cs
- ChannelServices.cs
- TextServicesContext.cs
- ColumnHeaderConverter.cs
- DataSet.cs
- ExecutionContext.cs
- ScrollProperties.cs
- RegisteredDisposeScript.cs
- MultiViewDesigner.cs
- FrameworkElement.cs
- ObjectTag.cs
- EditorBrowsableAttribute.cs
- nulltextnavigator.cs
- PopOutPanel.cs
- ReadOnlyHierarchicalDataSource.cs
- BasicExpressionVisitor.cs
- StatusBarDrawItemEvent.cs
- MetadataItemEmitter.cs
- PassportAuthentication.cs
- StructuredTypeInfo.cs
- Stylesheet.cs
- CryptoConfig.cs
- MetadataArtifactLoaderComposite.cs
- SymbolMethod.cs
- UseLicense.cs
- GrammarBuilderPhrase.cs
- Compiler.cs
- StructuralCache.cs
- EntityConnection.cs
- DiscoveryMessageSequenceCD1.cs
- ModelChangedEventArgsImpl.cs
- TypeForwardedToAttribute.cs
- UserNamePasswordValidator.cs
- Propagator.ExtentPlaceholderCreator.cs
- ListViewGroup.cs
- CompilerLocalReference.cs
- sqlpipe.cs
- BindingManagerDataErrorEventArgs.cs
- StylusLogic.cs
- EmptyStringExpandableObjectConverter.cs
- QueryInterceptorAttribute.cs
- EditCommandColumn.cs
- WeakReference.cs
- XmlSchemaGroup.cs
- EditCommandColumn.cs
- HtmlImageAdapter.cs
- LineGeometry.cs
- StringReader.cs
- OdbcFactory.cs
- CheckBoxField.cs
- SoapAttributeOverrides.cs
- FileLevelControlBuilderAttribute.cs
- XmlSchemaAttributeGroup.cs
- ReaderWriterLock.cs
- _ChunkParse.cs
- IList.cs
- MdiWindowListItemConverter.cs
- CustomCredentialPolicy.cs
- ProviderCollection.cs
- DataSourceComponent.cs