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
- ClientData.cs
- Events.cs
- HtmlSelect.cs
- CommonProperties.cs
- RectValueSerializer.cs
- EntityProxyFactory.cs
- SetUserPreferenceRequest.cs
- MaterialCollection.cs
- TextPenaltyModule.cs
- DataGridDesigner.cs
- OptimalBreakSession.cs
- glyphs.cs
- BasicExpandProvider.cs
- CodeComment.cs
- TextDecoration.cs
- Schema.cs
- SpellerError.cs
- BitmapEffectOutputConnector.cs
- NullableDoubleMinMaxAggregationOperator.cs
- EntityDataSourceWrapper.cs
- SqlBooleanMismatchVisitor.cs
- EventLogPermissionEntryCollection.cs
- IteratorFilter.cs
- CfgSemanticTag.cs
- GridToolTip.cs
- SuppressIldasmAttribute.cs
- DataContractSet.cs
- AutomationPattern.cs
- DBCommand.cs
- followingsibling.cs
- SqlMethodAttribute.cs
- TemplateField.cs
- ListViewAutomationPeer.cs
- SchemaObjectWriter.cs
- WinFormsSecurity.cs
- CacheEntry.cs
- ExpressionVisitor.cs
- EntityDataSourceSelectingEventArgs.cs
- DesignerActionService.cs
- FontFamily.cs
- Typography.cs
- followingsibling.cs
- PerfService.cs
- StringExpressionSet.cs
- WSHttpBindingCollectionElement.cs
- TransformerInfoCollection.cs
- StateItem.cs
- DataGridHeaderBorder.cs
- DecimalAnimationUsingKeyFrames.cs
- PageContentAsyncResult.cs
- sortedlist.cs
- WebPartConnection.cs
- ConfigurationManagerHelperFactory.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- _RequestLifetimeSetter.cs
- CreateParams.cs
- BatchParser.cs
- UDPClient.cs
- WebPartUserCapability.cs
- AbsoluteQuery.cs
- IProducerConsumerCollection.cs
- CollectionViewSource.cs
- SQLBinaryStorage.cs
- FormViewCommandEventArgs.cs
- serverconfig.cs
- ViewBase.cs
- RowToFieldTransformer.cs
- BitmapDecoder.cs
- Positioning.cs
- Color.cs
- ProcessManager.cs
- BrowserCapabilitiesFactoryBase.cs
- RadioButtonPopupAdapter.cs
- MessageDecoder.cs
- IPGlobalProperties.cs
- _ListenerRequestStream.cs
- NonVisualControlAttribute.cs
- COM2ExtendedUITypeEditor.cs
- EmptyQuery.cs
- HttpSessionStateBase.cs
- _UncName.cs
- SingletonInstanceContextProvider.cs
- ShaderRenderModeValidation.cs
- PointConverter.cs
- GridViewColumn.cs
- Document.cs
- LabelAutomationPeer.cs
- SoapServerMessage.cs
- HtmlInputText.cs
- ClrProviderManifest.cs
- WorkflowApplication.cs
- HttpHandlerAction.cs
- Converter.cs
- util.cs
- OletxCommittableTransaction.cs
- SignedXml.cs
- Int64Converter.cs
- EventLogPermissionAttribute.cs
- DriveInfo.cs
- DataTableExtensions.cs