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
- SerialPort.cs
- WSSecurityTokenSerializer.cs
- CompressEmulationStream.cs
- InvalidPropValue.cs
- SafeSerializationManager.cs
- ImageMapEventArgs.cs
- ConfigXmlDocument.cs
- PublisherMembershipCondition.cs
- XmlSchemaSimpleContent.cs
- Registration.cs
- ScrollBar.cs
- PrintPageEvent.cs
- SendKeys.cs
- PageTheme.cs
- MobilePage.cs
- RegistrySecurity.cs
- SimpleMailWebEventProvider.cs
- TraceHandler.cs
- ServiceContractDetailViewControl.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- ReceiveMessageRecord.cs
- _AutoWebProxyScriptWrapper.cs
- ColumnPropertiesGroup.cs
- DCSafeHandle.cs
- _DomainName.cs
- ValueProviderWrapper.cs
- TraceContext.cs
- HealthMonitoringSection.cs
- InterleavedZipPartStream.cs
- ToolStripComboBox.cs
- HtmlTableCell.cs
- SymLanguageVendor.cs
- ProcessInfo.cs
- SettingsPropertyWrongTypeException.cs
- AssemblyBuilder.cs
- ServiceChannelManager.cs
- ResXBuildProvider.cs
- DataGridViewCellLinkedList.cs
- ProfileParameter.cs
- ImageDrawing.cs
- SafeSystemMetrics.cs
- HtmlWindow.cs
- GenericTypeParameterBuilder.cs
- Roles.cs
- ListSourceHelper.cs
- FixedSchema.cs
- GroupBoxAutomationPeer.cs
- ChtmlPhoneCallAdapter.cs
- COM2IPerPropertyBrowsingHandler.cs
- FrameworkPropertyMetadata.cs
- Win32SafeHandles.cs
- EventListenerClientSide.cs
- ContractTypeNameCollection.cs
- TreeNode.cs
- Exceptions.cs
- SspiWrapper.cs
- ListBoxAutomationPeer.cs
- EncodingNLS.cs
- WebConfigurationHostFileChange.cs
- DataGrid.cs
- TableLayoutStyle.cs
- MenuScrollingVisibilityConverter.cs
- MethodBody.cs
- _KerberosClient.cs
- SwitchDesigner.xaml.cs
- ProviderCommandInfoUtils.cs
- Boolean.cs
- RequestFactory.cs
- Base64Encoder.cs
- EventLogRecord.cs
- UpdateRecord.cs
- LeftCellWrapper.cs
- StringAttributeCollection.cs
- Header.cs
- BitStack.cs
- MenuItem.cs
- ExceptionHelpers.cs
- UshortList2.cs
- IItemProperties.cs
- AngleUtil.cs
- NodeCounter.cs
- TerminatorSinks.cs
- __FastResourceComparer.cs
- BuilderInfo.cs
- ResourcePermissionBaseEntry.cs
- SqlSupersetValidator.cs
- Function.cs
- Configuration.cs
- SByteConverter.cs
- ArrayList.cs
- ListParagraph.cs
- ScrollChrome.cs
- QilPatternVisitor.cs
- CmsUtils.cs
- ADRoleFactoryConfiguration.cs
- AsymmetricSecurityBindingElement.cs
- Subordinate.cs
- RIPEMD160.cs
- StringResourceManager.cs
- SQLBytes.cs