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
- HashMembershipCondition.cs
- SymbolEqualComparer.cs
- RequestResponse.cs
- FontStretches.cs
- AnnotationObservableCollection.cs
- HttpListenerPrefixCollection.cs
- PowerStatus.cs
- GregorianCalendar.cs
- SqlClientMetaDataCollectionNames.cs
- GeometryModel3D.cs
- DataContractSerializerOperationGenerator.cs
- TextEditorSelection.cs
- ToolStripKeyboardHandlingService.cs
- EqualityArray.cs
- ConfigurationElement.cs
- AddInAttribute.cs
- ContextMenu.cs
- ItemCheckedEvent.cs
- XsdBuilder.cs
- NullableLongSumAggregationOperator.cs
- KeyboardNavigation.cs
- EnglishPluralizationService.cs
- SmtpDigestAuthenticationModule.cs
- EndpointDispatcherTable.cs
- FrameworkElement.cs
- AcceleratedTokenProviderState.cs
- ErrorWrapper.cs
- ClientCredentialsSecurityTokenManager.cs
- FileCodeGroup.cs
- AbandonedMutexException.cs
- AlignmentYValidation.cs
- XmlExtensionFunction.cs
- DataTablePropertyDescriptor.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- CachedPathData.cs
- StylusEventArgs.cs
- MenuEventArgs.cs
- ButtonBaseAutomationPeer.cs
- OracleInfoMessageEventArgs.cs
- SystemGatewayIPAddressInformation.cs
- Repeater.cs
- PlaceHolder.cs
- EntityClassGenerator.cs
- ObjectDisposedException.cs
- DropShadowEffect.cs
- ImpersonateTokenRef.cs
- __Error.cs
- RolePrincipal.cs
- SqlTypesSchemaImporter.cs
- PreservationFileReader.cs
- IISMapPath.cs
- RadioButton.cs
- PointCollectionValueSerializer.cs
- PolygonHotSpot.cs
- PowerModeChangedEventArgs.cs
- KeyValuePair.cs
- MachineKeySection.cs
- MetadataWorkspace.cs
- IncrementalReadDecoders.cs
- JsonWriter.cs
- PrinterResolution.cs
- LookupNode.cs
- DataGridLinkButton.cs
- XamlFrame.cs
- CodeLabeledStatement.cs
- DataServiceQueryProvider.cs
- OutputCacheProviderCollection.cs
- Size.cs
- DBBindings.cs
- SafeFindHandle.cs
- ScaleTransform3D.cs
- AspProxy.cs
- ServiceMemoryGates.cs
- FormClosingEvent.cs
- RequestUriProcessor.cs
- RadioButtonStandardAdapter.cs
- OracleDateTime.cs
- HttpDigestClientCredential.cs
- DefaultValueConverter.cs
- ProjectionCamera.cs
- SystemColors.cs
- DragEventArgs.cs
- SignedInfo.cs
- smtppermission.cs
- SQLMoney.cs
- LicenseManager.cs
- SafeNativeMethods.cs
- SecurityManager.cs
- LocationUpdates.cs
- XDeferredAxisSource.cs
- OperationContext.cs
- TerminatorSinks.cs
- IdentityNotMappedException.cs
- CodeLinePragma.cs
- ImpersonationOption.cs
- Permission.cs
- MessageBox.cs
- DocumentXPathNavigator.cs
- ByteStack.cs
- Int32AnimationUsingKeyFrames.cs