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
- TreeNodeCollectionEditor.cs
- ErrorFormatterPage.cs
- TimeSpanSecondsConverter.cs
- WebPartEditorOkVerb.cs
- Rect3D.cs
- ListViewEditEventArgs.cs
- ValidatorAttribute.cs
- BatchServiceHost.cs
- TabOrder.cs
- ManualResetEvent.cs
- StrokeCollection.cs
- SendKeys.cs
- Point.cs
- Faults.cs
- FilteredAttributeCollection.cs
- DefaultHttpHandler.cs
- PtsContext.cs
- MenuItemCollection.cs
- EnvelopedPkcs7.cs
- SqlMethods.cs
- ArgumentDesigner.xaml.cs
- BindingFormattingDialog.cs
- ProxyHelper.cs
- CrossAppDomainChannel.cs
- BindingValueChangedEventArgs.cs
- DesignSurface.cs
- ModelPerspective.cs
- AutomationPatternInfo.cs
- OdbcConnectionOpen.cs
- GifBitmapDecoder.cs
- DateTimeOffset.cs
- XPathNodeInfoAtom.cs
- TextDecorationLocationValidation.cs
- SchemaMerger.cs
- UnsafeNativeMethods.cs
- ContentFileHelper.cs
- SymbolEqualComparer.cs
- PolyLineSegmentFigureLogic.cs
- InheritanceRules.cs
- ReadOnlyCollection.cs
- QuotaThrottle.cs
- HwndHostAutomationPeer.cs
- IdentitySection.cs
- ObjectDataSourceStatusEventArgs.cs
- OverrideMode.cs
- AnimationStorage.cs
- Scripts.cs
- Compress.cs
- CanonicalXml.cs
- SchemaTableColumn.cs
- CodeDOMUtility.cs
- ExtentKey.cs
- SoapObjectInfo.cs
- OutOfMemoryException.cs
- DataError.cs
- TraceData.cs
- ValidatingReaderNodeData.cs
- DataListItem.cs
- InProcStateClientManager.cs
- RelatedPropertyManager.cs
- IntellisenseTextBox.cs
- PrintPageEvent.cs
- ReadOnlyNameValueCollection.cs
- DataGridViewLinkColumn.cs
- PeerCollaboration.cs
- Formatter.cs
- DataGridViewBindingCompleteEventArgs.cs
- JapaneseLunisolarCalendar.cs
- SessionEndingEventArgs.cs
- Keyboard.cs
- EntityContainerEntitySet.cs
- AttributeEmitter.cs
- WorkflowRuntimeServiceElementCollection.cs
- CodeExporter.cs
- NullableLongSumAggregationOperator.cs
- XamlClipboardData.cs
- XmlDomTextWriter.cs
- ToolStripItemImageRenderEventArgs.cs
- SourceFileInfo.cs
- Image.cs
- SpecialFolderEnumConverter.cs
- InvokeHandlers.cs
- LambdaCompiler.Statements.cs
- DataControlPagerLinkButton.cs
- SafeTokenHandle.cs
- CollectionCodeDomSerializer.cs
- TrackingCondition.cs
- Filter.cs
- IxmlLineInfo.cs
- WizardForm.cs
- ScrollChangedEventArgs.cs
- Utils.cs
- SecurityPolicySection.cs
- DocumentXPathNavigator.cs
- JsonDeserializer.cs
- WebPartEditorCancelVerb.cs
- CryptoStream.cs
- ApplicationProxyInternal.cs
- MarshalDirectiveException.cs
- InvokeSchedule.cs