| 1234567891011121314151617181920212223242526272829303132 |
- //
- // System.Xml.XmlImplementation.cs
- //
- // Author: Duncan Mak ([email protected])
- //
- // (C) Ximian, Inc.
- //
- namespace System.Xml
- {
- public class XmlImplementation
- {
- public XmlImplementation ()
- : base ()
- {
- }
- public virtual XmlDocument CreateDocument ()
- {
- return new XmlDocument (this);
- }
- public bool HasFeature (string strFeature, string strVersion)
- {
- if ((strVersion == "XML") || (strVersion == "xml") // not case-sensitive
- && (strVersion == "1.0") || (strVersion == "2.0"))
- return true;
- else
- return false;
- }
- }
- }
|