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
- ChtmlTextWriter.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- EmptyControlCollection.cs
- DataGridItem.cs
- Freezable.cs
- ResourceWriter.cs
- ListItemParagraph.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- EntityClassGenerator.cs
- SpellerStatusTable.cs
- ClientOptions.cs
- HeaderedItemsControl.cs
- TextWriter.cs
- RootBuilder.cs
- DefaultSettingsSection.cs
- SafeNativeMethodsCLR.cs
- TypeValidationEventArgs.cs
- SoapAttributeAttribute.cs
- TextServicesPropertyRanges.cs
- Matrix3DValueSerializer.cs
- RestClientProxyHandler.cs
- AsymmetricAlgorithm.cs
- NegotiationTokenProvider.cs
- ContextBase.cs
- MemberRelationshipService.cs
- DataGridViewCellParsingEventArgs.cs
- RsaSecurityTokenAuthenticator.cs
- RSAPKCS1SignatureDeformatter.cs
- BridgeDataReader.cs
- SortDescriptionCollection.cs
- DataRowView.cs
- ExchangeUtilities.cs
- KeyPressEvent.cs
- Query.cs
- glyphs.cs
- BooleanFunctions.cs
- ClientApiGenerator.cs
- DbConnectionInternal.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- AsymmetricKeyExchangeFormatter.cs
- HtmlForm.cs
- TrackBar.cs
- EndpointAddressProcessor.cs
- AmbientProperties.cs
- StaticResourceExtension.cs
- GatewayDefinition.cs
- TableLayoutSettings.cs
- CommentAction.cs
- DeclarationUpdate.cs
- UnsafeNativeMethodsPenimc.cs
- GlyphRun.cs
- CompiledQuery.cs
- XamlToRtfParser.cs
- ReachPageContentCollectionSerializerAsync.cs
- AudioLevelUpdatedEventArgs.cs
- UTF32Encoding.cs
- WebServiceFault.cs
- AssemblyHash.cs
- NullableFloatSumAggregationOperator.cs
- Verify.cs
- PriorityItem.cs
- AdCreatedEventArgs.cs
- SqlRecordBuffer.cs
- BufferedStream.cs
- XhtmlTextWriter.cs
- ToolStripComboBox.cs
- VSWCFServiceContractGenerator.cs
- UrlAuthFailedErrorFormatter.cs
- ApplicationCommands.cs
- ClientTargetSection.cs
- ForeignKeyConstraint.cs
- CharConverter.cs
- StringBuilder.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- IdleTimeoutMonitor.cs
- HttpRuntime.cs
- CalculatedColumn.cs
- BlurBitmapEffect.cs
- SettingsPropertyValueCollection.cs
- RegexRunnerFactory.cs
- BitmapPalette.cs
- File.cs
- AspNetSynchronizationContext.cs
- ExpressionPrefixAttribute.cs
- CacheRequest.cs
- EventSourceCreationData.cs
- MailAddress.cs
- DataServiceClientException.cs
- ControlAdapter.cs
- MenuBindingsEditor.cs
- PropertyInfoSet.cs
- SeverityFilter.cs
- Documentation.cs
- BmpBitmapDecoder.cs
- ControlBindingsConverter.cs
- TranslateTransform3D.cs
- DoubleCollectionConverter.cs
- RowUpdatedEventArgs.cs
- ProcessThreadDesigner.cs
- IgnoreSectionHandler.cs