Code:
/ DotNET / DotNET / 8.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
- Decimal.cs
- Utils.cs
- ColorPalette.cs
- MappingModelBuildProvider.cs
- DbParameterHelper.cs
- PagesSection.cs
- MediaScriptCommandRoutedEventArgs.cs
- unsafenativemethodstextservices.cs
- ToolstripProfessionalRenderer.cs
- MissingManifestResourceException.cs
- PageClientProxyGenerator.cs
- SqlDataSourceQuery.cs
- WebControlAdapter.cs
- LineSegment.cs
- AuthenticationSection.cs
- PrintPageEvent.cs
- RegisteredScript.cs
- SelectedGridItemChangedEvent.cs
- HasCopySemanticsAttribute.cs
- EnumValidator.cs
- LoginUtil.cs
- SchemaContext.cs
- TrustManagerMoreInformation.cs
- ComboBox.cs
- PageDeviceFont.cs
- SoapServerMessage.cs
- LinqExpressionNormalizer.cs
- AsyncContentLoadedEventArgs.cs
- Point.cs
- XmlSchemaImporter.cs
- DesignerDataParameter.cs
- ThreadPool.cs
- _SslSessionsCache.cs
- ConfigurationStrings.cs
- SizeConverter.cs
- diagnosticsswitches.cs
- RelatedImageListAttribute.cs
- TextPattern.cs
- TransformerInfoCollection.cs
- ServiceBusyException.cs
- WriteableOnDemandPackagePart.cs
- Compilation.cs
- CompileXomlTask.cs
- SharedStatics.cs
- Int32Storage.cs
- TokenBasedSetEnumerator.cs
- UIAgentInitializationException.cs
- ClientScriptManager.cs
- RtfToken.cs
- Crypto.cs
- SessionKeyExpiredException.cs
- CacheMemory.cs
- Section.cs
- StoreItemCollection.Loader.cs
- _ConnectStream.cs
- SharedPerformanceCounter.cs
- CodeSnippetTypeMember.cs
- AbstractSvcMapFileLoader.cs
- AssemblyUtil.cs
- cookie.cs
- Themes.cs
- UdpReplyToBehavior.cs
- WorkflowFormatterBehavior.cs
- PolyBezierSegmentFigureLogic.cs
- UnsafeNativeMethods.cs
- HandoffBehavior.cs
- ButtonBaseAdapter.cs
- ObjectHelper.cs
- HtmlUtf8RawTextWriter.cs
- CommandBinding.cs
- AutomationPattern.cs
- LinearKeyFrames.cs
- SHA512Managed.cs
- DataListItem.cs
- TransformValueSerializer.cs
- UnicodeEncoding.cs
- StringUtil.cs
- Thread.cs
- TypedTableHandler.cs
- ListBindingConverter.cs
- HttpSysSettings.cs
- PointAnimation.cs
- DataColumnCollection.cs
- Operators.cs
- DataSourceComponent.cs
- x509store.cs
- Matrix3D.cs
- IssuedTokenParametersEndpointAddressElement.cs
- SynchronizedDispatch.cs
- ErrorRuntimeConfig.cs
- Component.cs
- GridLengthConverter.cs
- ComponentConverter.cs
- CodeThrowExceptionStatement.cs
- DesignTimeTemplateParser.cs
- DesignerLinkAdapter.cs
- ListViewItemEventArgs.cs
- SingleResultAttribute.cs
- ConstraintStruct.cs
- ObjectSecurity.cs