Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Dom / XmlImplementation.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputScopeNameConverter.cs
- TdsValueSetter.cs
- ImpersonateTokenRef.cs
- ExpressionParser.cs
- RegexWorker.cs
- WizardDesigner.cs
- KerberosTicketHashIdentifierClause.cs
- LinqToSqlWrapper.cs
- WindowsBrush.cs
- HierarchicalDataSourceIDConverter.cs
- Buffer.cs
- ToolStripItemRenderEventArgs.cs
- streamingZipPartStream.cs
- FlagsAttribute.cs
- ConnectionProviderAttribute.cs
- FormParameter.cs
- DataGridViewElement.cs
- ReadOnlyDataSourceView.cs
- AmbientValueAttribute.cs
- EnterpriseServicesHelper.cs
- BatchStream.cs
- HasActivatableWorkflowEvent.cs
- ContextConfiguration.cs
- _LocalDataStoreMgr.cs
- DataGridViewCellStyleChangedEventArgs.cs
- DbConnectionPoolIdentity.cs
- TableColumn.cs
- GroupBox.cs
- MaxSessionCountExceededException.cs
- XmlSerializerFormatAttribute.cs
- _TransmitFileOverlappedAsyncResult.cs
- BitmapMetadataBlob.cs
- DataTableNewRowEvent.cs
- ObjectListItemCollection.cs
- WindowsFormsHostAutomationPeer.cs
- ThemeableAttribute.cs
- XPathNodeInfoAtom.cs
- ListChunk.cs
- TransformerConfigurationWizardBase.cs
- CodeRegionDirective.cs
- ZipFileInfoCollection.cs
- WebHttpSecurity.cs
- CodeIdentifiers.cs
- NotImplementedException.cs
- OdbcParameterCollection.cs
- WebScriptClientGenerator.cs
- AppDomainManager.cs
- ElapsedEventArgs.cs
- SecurityProtocolCorrelationState.cs
- JournalNavigationScope.cs
- ListBase.cs
- ToolZone.cs
- XmlSchemaSimpleTypeUnion.cs
- EventLogger.cs
- C14NUtil.cs
- NetworkInterface.cs
- Atom10FormatterFactory.cs
- ipaddressinformationcollection.cs
- objectresult_tresulttype.cs
- SiblingIterators.cs
- CLSCompliantAttribute.cs
- GenerateHelper.cs
- StructuredTypeEmitter.cs
- NotCondition.cs
- ChildDocumentBlock.cs
- ClientTargetSection.cs
- HttpResponseInternalWrapper.cs
- DesignerCommandSet.cs
- AppDomainAttributes.cs
- ConnectionManagementSection.cs
- OverrideMode.cs
- HtmlInputHidden.cs
- AxisAngleRotation3D.cs
- HostExecutionContextManager.cs
- WindowsFormsHelpers.cs
- CTreeGenerator.cs
- DesignerVerbCollection.cs
- SafeFreeMibTable.cs
- StringUtil.cs
- Control.cs
- ApplicationFileParser.cs
- DbBuffer.cs
- Metadata.cs
- FontDifferentiator.cs
- TextEffect.cs
- Authorization.cs
- Lock.cs
- SamlSerializer.cs
- CustomCategoryAttribute.cs
- DataGridTablesFactory.cs
- ActivityDesignerResources.cs
- Literal.cs
- ExpressionBuilderContext.cs
- TrackingStringDictionary.cs
- GuidTagList.cs
- UIElement.cs
- TypeElementCollection.cs
- WebErrorHandler.cs
- BitmapEffectInput.cs
- HtmlControl.cs