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
- IDispatchConstantAttribute.cs
- __Filters.cs
- DataObjectSettingDataEventArgs.cs
- NotifyIcon.cs
- ExpressionPrinter.cs
- ProjectedSlot.cs
- IgnoreSectionHandler.cs
- GeneralTransform.cs
- StackSpiller.Temps.cs
- _ChunkParse.cs
- LinqDataSourceContextData.cs
- SafePointer.cs
- arc.cs
- LinkButton.cs
- ImageMap.cs
- SqlFacetAttribute.cs
- RenderingEventArgs.cs
- CultureMapper.cs
- Assert.cs
- UserNameSecurityTokenParameters.cs
- Metadata.cs
- ExpandableObjectConverter.cs
- FollowerQueueCreator.cs
- WinEventQueueItem.cs
- ConfigurationSettings.cs
- UrlMappingsSection.cs
- SecurityPermission.cs
- MbpInfo.cs
- NoPersistProperty.cs
- SoapSchemaImporter.cs
- NavigationEventArgs.cs
- DeobfuscatingStream.cs
- PropertyMapper.cs
- DBCommand.cs
- CharConverter.cs
- StrongNameUtility.cs
- VectorCollectionValueSerializer.cs
- ProcessHost.cs
- SqlError.cs
- GreenMethods.cs
- AuthorizationPolicyTypeElement.cs
- TextEvent.cs
- FindCriteriaApril2005.cs
- ResourceReferenceExpressionConverter.cs
- CompiledQuery.cs
- DesignerActionItem.cs
- VectorValueSerializer.cs
- ArraySortHelper.cs
- BitmapEffectGroup.cs
- HandleExceptionArgs.cs
- XmlSerializableWriter.cs
- DrawingVisualDrawingContext.cs
- TextBoxRenderer.cs
- TransactionOptions.cs
- _SslSessionsCache.cs
- Renderer.cs
- DataDocumentXPathNavigator.cs
- ControlCommandSet.cs
- SystemIdentity.cs
- NetCodeGroup.cs
- HttpCacheVary.cs
- CodeExpressionRuleDeclaration.cs
- AnonymousIdentificationSection.cs
- NavigationPropertySingletonExpression.cs
- Authorization.cs
- Calendar.cs
- X509ChainPolicy.cs
- WsatServiceCertificate.cs
- Block.cs
- EdmProviderManifest.cs
- GridViewAutoFormat.cs
- ValidatingReaderNodeData.cs
- IsolatedStorageFile.cs
- SkipQueryOptionExpression.cs
- BindingElementCollection.cs
- GlobalEventManager.cs
- PropertyCondition.cs
- FrameworkPropertyMetadata.cs
- PageAsyncTaskManager.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- wgx_exports.cs
- OdbcInfoMessageEvent.cs
- HtmlButton.cs
- ApplicationSecurityManager.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SoapWriter.cs
- TreeSet.cs
- ScopeElement.cs
- MessageQueuePermissionEntryCollection.cs
- FontFamilyConverter.cs
- SessionState.cs
- SafeViewOfFileHandle.cs
- ValueQuery.cs
- WebHostedComPlusServiceHost.cs
- UnsafeNativeMethods.cs
- NativeMethods.cs
- ResourceContainerWrapper.cs
- ArrayList.cs
- ConfigurationSectionGroup.cs
- RequestDescription.cs