Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / Dom / XmlImplementation.cs / 2 / 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
- FocusTracker.cs
- Parser.cs
- SourceCollection.cs
- BrowserDefinition.cs
- ContentDesigner.cs
- XamlPoint3DCollectionSerializer.cs
- LinqDataSourceUpdateEventArgs.cs
- EmptyEnumerable.cs
- PolyBezierSegment.cs
- XmlSchemaSimpleContent.cs
- ServiceObjectContainer.cs
- DelimitedListTraceListener.cs
- GeneratedView.cs
- ScaleTransform.cs
- DecimalFormatter.cs
- Single.cs
- MaskedTextProvider.cs
- DocumentViewerConstants.cs
- Literal.cs
- FastEncoderWindow.cs
- TypeUtils.cs
- Int16Animation.cs
- TraceSection.cs
- RealProxy.cs
- CellParagraph.cs
- BasicKeyConstraint.cs
- GlyphRun.cs
- SqlError.cs
- StringDictionary.cs
- XpsImage.cs
- nulltextcontainer.cs
- IntSecurity.cs
- Vector.cs
- AttachedPropertyDescriptor.cs
- AVElementHelper.cs
- PreDigestedSignedInfo.cs
- ReferencedCollectionType.cs
- X509Utils.cs
- BitmapCacheBrush.cs
- FreezableOperations.cs
- PageBuildProvider.cs
- MeshGeometry3D.cs
- QueryConverter.cs
- DataGridLinkButton.cs
- DependencyStoreSurrogate.cs
- DXD.cs
- DirectionalLight.cs
- LineInfo.cs
- ResizeBehavior.cs
- UnsafeNativeMethods.cs
- PackageProperties.cs
- CapabilitiesRule.cs
- Geometry3D.cs
- MexHttpBindingElement.cs
- EmissiveMaterial.cs
- SecurityContextSecurityToken.cs
- FontConverter.cs
- SafeArrayTypeMismatchException.cs
- UnauthorizedWebPart.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- AxHost.cs
- Array.cs
- XmlUnspecifiedAttribute.cs
- KernelTypeValidation.cs
- RtType.cs
- SapiRecognizer.cs
- Model3DGroup.cs
- BitmapCodecInfoInternal.cs
- CompiledQueryCacheEntry.cs
- FunctionDescription.cs
- AudioException.cs
- PointAnimationBase.cs
- XmlUnspecifiedAttribute.cs
- ClientSession.cs
- ResourceProviderFactory.cs
- StatusBarItemAutomationPeer.cs
- MonthChangedEventArgs.cs
- XhtmlBasicTextBoxAdapter.cs
- ObjectConverter.cs
- UpdatePanelTriggerCollection.cs
- DataGridViewMethods.cs
- ListMarkerSourceInfo.cs
- LocatorManager.cs
- ExpressionVisitor.cs
- ProtocolState.cs
- Point3DCollection.cs
- StylusPointProperties.cs
- AuthenticationConfig.cs
- BackoffTimeoutHelper.cs
- ScriptModule.cs
- DependencyObject.cs
- MonitoringDescriptionAttribute.cs
- OdbcDataReader.cs
- DefaultExpression.cs
- NativeActivityContext.cs
- PerformanceCounterManager.cs
- CommonProperties.cs
- PostBackOptions.cs
- BinaryMethodMessage.cs
- XmlSerializerVersionAttribute.cs