| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // System.Xml.XmlImplementation.cs
- //
- // Author: Duncan Mak ([email protected])
- //
- // (C) Ximian, Inc.
- //
- namespace System.Xml
- {
- public class XmlImplementation
- {
- #region Constructor
- public XmlImplementation ()
- : base ()
- {
- // The following keys are default of MS .NET Framework
- NameTable nt = new NameTable();
- internalNameTable = nt;
- }
- #endregion
- #region Public Methods
- public virtual XmlDocument CreateDocument ()
- {
- return new XmlDocument (this);
- }
- public bool HasFeature (string strFeature, string strVersion)
- {
- if ((strFeature == "XML") || (strFeature == "xml") // not case-sensitive
- && (strVersion == "1.0") || (strVersion == "2.0"))
- return true;
- else
- return false;
- }
- #endregion
- #region Internals
- internal XmlNameTable internalNameTable;
- #endregion
- }
- }
|