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
- BuildManagerHost.cs
- UInt32Storage.cs
- CryptoHelper.cs
- LocalServiceSecuritySettingsElement.cs
- NullableFloatAverageAggregationOperator.cs
- HtmlTextViewAdapter.cs
- followingquery.cs
- SamlDelegatingWriter.cs
- WmlMobileTextWriter.cs
- WebEventCodes.cs
- ConstrainedDataObject.cs
- WebPartEditorApplyVerb.cs
- SpanIndex.cs
- ExpressionParser.cs
- UrlPropertyAttribute.cs
- ListItemCollection.cs
- CellParaClient.cs
- WindowsEditBox.cs
- WebPageTraceListener.cs
- RMPublishingDialog.cs
- FilterQuery.cs
- RangeBaseAutomationPeer.cs
- ThemeDictionaryExtension.cs
- CompositeKey.cs
- login.cs
- Rfc4050KeyFormatter.cs
- TraceHandler.cs
- ContainsRowNumberChecker.cs
- AssociationSetEnd.cs
- BatchStream.cs
- TypeInfo.cs
- CallbackTimeoutsBehavior.cs
- Executor.cs
- TextPointerBase.cs
- Logging.cs
- SimpleTextLine.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- SqlWebEventProvider.cs
- IdentityHolder.cs
- StatusBar.cs
- XmlEncoding.cs
- RijndaelCryptoServiceProvider.cs
- XmlSchema.cs
- BitmapEffectState.cs
- EventMemberCodeDomSerializer.cs
- Debug.cs
- WSHttpBindingElement.cs
- CellTreeNode.cs
- SchemaObjectWriter.cs
- SqlNotificationRequest.cs
- TextCharacters.cs
- PackageRelationshipCollection.cs
- JavaScriptObjectDeserializer.cs
- _AutoWebProxyScriptHelper.cs
- BoolExpr.cs
- PageSettings.cs
- StorageMappingItemCollection.cs
- CodeExpressionCollection.cs
- ShaderRenderModeValidation.cs
- WebPartConnectionsDisconnectVerb.cs
- ColumnPropertiesGroup.cs
- base64Transforms.cs
- RectangleF.cs
- X509SubjectKeyIdentifierClause.cs
- ThicknessConverter.cs
- MachineKeyConverter.cs
- remotingproxy.cs
- XmlAttributeAttribute.cs
- SystemUnicastIPAddressInformation.cs
- PlacementWorkspace.cs
- CompModSwitches.cs
- NavigationProgressEventArgs.cs
- DataBoundLiteralControl.cs
- CompiledRegexRunnerFactory.cs
- ExpandCollapseProviderWrapper.cs
- SchemaElementDecl.cs
- Visitors.cs
- DataRelation.cs
- SessionStateSection.cs
- MemoryStream.cs
- SHA384Managed.cs
- TrustLevelCollection.cs
- ColumnHeaderConverter.cs
- SelfIssuedAuthRSACryptoProvider.cs
- FontFaceLayoutInfo.cs
- ToolStripItemClickedEventArgs.cs
- XamlBrushSerializer.cs
- XhtmlBasicListAdapter.cs
- UrlAuthFailedErrorFormatter.cs
- PresentationAppDomainManager.cs
- DesigntimeLicenseContext.cs
- CqlGenerator.cs
- NumericUpDownAcceleration.cs
- HMACSHA1.cs
- TextAnchor.cs
- CalendarTable.cs
- EnumBuilder.cs
- UnsafeNativeMethods.cs
- DbTransaction.cs
- SettingsPropertyIsReadOnlyException.cs