Code:
/ FX-1434 / FX-1434 / 1.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
- Axis.cs
- FormatterConverter.cs
- CfgParser.cs
- CompressStream.cs
- Matrix3DConverter.cs
- SettingsSection.cs
- PriorityItem.cs
- TypeToStringValueConverter.cs
- cache.cs
- TaiwanLunisolarCalendar.cs
- DateTimeFormatInfo.cs
- CheckedListBox.cs
- FrameworkElement.cs
- FileNameEditor.cs
- ArrangedElementCollection.cs
- StorageAssociationTypeMapping.cs
- XmlLangPropertyAttribute.cs
- HttpDebugHandler.cs
- EndPoint.cs
- PrintDocument.cs
- ProgressChangedEventArgs.cs
- ItemChangedEventArgs.cs
- TryExpression.cs
- ReversePositionQuery.cs
- ClientUrlResolverWrapper.cs
- ButtonField.cs
- XomlCompilerParameters.cs
- XPathAxisIterator.cs
- MultiDataTrigger.cs
- COM2TypeInfoProcessor.cs
- NavigationCommands.cs
- EntityModelSchemaGenerator.cs
- RC2.cs
- DataSourceConverter.cs
- ToolStripSplitButton.cs
- SmiRequestExecutor.cs
- WindowsGraphicsWrapper.cs
- SharedPersonalizationStateInfo.cs
- OrderByQueryOptionExpression.cs
- EmptyStringExpandableObjectConverter.cs
- SqlUnionizer.cs
- TypeBuilder.cs
- ServiceNotStartedException.cs
- XmlSchemaFacet.cs
- QuaternionConverter.cs
- SymmetricAlgorithm.cs
- StrongNameUtility.cs
- TemplateBamlTreeBuilder.cs
- ProcessHostFactoryHelper.cs
- StrokeSerializer.cs
- ThrowHelper.cs
- FormatException.cs
- InstanceData.cs
- TransactionManager.cs
- ExtendedProperty.cs
- RelationshipDetailsCollection.cs
- SchemaImporterExtensionElementCollection.cs
- CodeComment.cs
- StringBuilder.cs
- UnsafeNetInfoNativeMethods.cs
- RuntimeHandles.cs
- MetadataUtil.cs
- HttpWebRequestElement.cs
- SqlOuterApplyReducer.cs
- AdapterUtil.cs
- AggregateNode.cs
- LifetimeServices.cs
- ExpandableObjectConverter.cs
- HttpModulesSection.cs
- QuadraticBezierSegment.cs
- DataGridBoolColumn.cs
- TraceSection.cs
- BindValidationContext.cs
- Polygon.cs
- ProxyFragment.cs
- ColumnMapCopier.cs
- SettingsPropertyWrongTypeException.cs
- MouseEventArgs.cs
- DateBoldEvent.cs
- NCryptSafeHandles.cs
- WindowsToolbar.cs
- DataGridViewColumnCollection.cs
- DocumentXmlWriter.cs
- exports.cs
- MessageSecurityVersion.cs
- IntMinMaxAggregationOperator.cs
- TypeInitializationException.cs
- WrappedKeySecurityToken.cs
- SectionXmlInfo.cs
- RowTypePropertyElement.cs
- XmlReaderSettings.cs
- DateTimeOffset.cs
- ProjectionCamera.cs
- LayoutSettings.cs
- EntityViewContainer.cs
- XNodeNavigator.cs
- ObjectDataSourceSelectingEventArgs.cs
- ContentPosition.cs
- ApplicationBuildProvider.cs
- x509utils.cs