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
- WeakReferenceKey.cs
- WebZone.cs
- _ListenerAsyncResult.cs
- RuntimeHandles.cs
- ManipulationDelta.cs
- StyleCollection.cs
- SpellerInterop.cs
- HitTestParameters3D.cs
- StringResourceManager.cs
- EUCJPEncoding.cs
- Internal.cs
- CounterSampleCalculator.cs
- GregorianCalendar.cs
- RuntimeWrappedException.cs
- HiddenFieldPageStatePersister.cs
- BulletedListEventArgs.cs
- ObjectStorage.cs
- HtmlImage.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Header.cs
- BinaryFormatterWriter.cs
- ModelPerspective.cs
- XMLUtil.cs
- XPathAncestorIterator.cs
- DeclarationUpdate.cs
- OracleFactory.cs
- ByteStreamGeometryContext.cs
- SqlTopReducer.cs
- TextParagraphView.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- UnsafeNativeMethods.cs
- XmlSerializationWriter.cs
- TransportConfigurationTypeElement.cs
- EnumerableRowCollection.cs
- ItemList.cs
- PeerTransportListenAddressConverter.cs
- PocoPropertyAccessorStrategy.cs
- HtmlElementCollection.cs
- StoragePropertyMapping.cs
- ChangeNode.cs
- XsltLoader.cs
- SamlEvidence.cs
- WorkflowPersistenceContext.cs
- Selection.cs
- PropertyValueChangedEvent.cs
- JoinQueryOperator.cs
- LeafCellTreeNode.cs
- IncrementalCompileAnalyzer.cs
- CharAnimationBase.cs
- NavigatorOutput.cs
- Margins.cs
- PassportAuthenticationModule.cs
- ReflectionUtil.cs
- CaseInsensitiveOrdinalStringComparer.cs
- MobileTemplatedControlDesigner.cs
- FramingEncoders.cs
- HwndProxyElementProvider.cs
- CryptoConfig.cs
- ToolStripDropDownMenu.cs
- WebPartConnectVerb.cs
- FlowLayoutPanel.cs
- SoapFormatter.cs
- BitmapEffectGroup.cs
- IriParsingElement.cs
- messageonlyhwndwrapper.cs
- TransferRequestHandler.cs
- ImageConverter.cs
- ToolStripDropDownButton.cs
- HttpInputStream.cs
- DataGridToolTip.cs
- __ConsoleStream.cs
- KeyConverter.cs
- HandlerFactoryWrapper.cs
- StringDictionary.cs
- HostingEnvironment.cs
- MissingMemberException.cs
- DiscoveryDocument.cs
- DrawingServices.cs
- XmlSchemaValidationException.cs
- CachedBitmap.cs
- SchemaDeclBase.cs
- ColumnMapVisitor.cs
- WindowsTreeView.cs
- PipelineModuleStepContainer.cs
- SoapAttributeAttribute.cs
- RedistVersionInfo.cs
- CellNormalizer.cs
- Paragraph.cs
- OdbcConnectionString.cs
- TabItemAutomationPeer.cs
- DbCommandDefinition.cs
- TextComposition.cs
- ExpressionDumper.cs
- AlternateViewCollection.cs
- ItemList.cs
- XamlWrappingReader.cs
- DependencyObject.cs
- ResourceBinder.cs
- TileBrush.cs
- ContextMenuStrip.cs