blob: c76875d30bc6982c89b669aab7030e4d63a8949a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
//
// System.Xml.XmlImplementation.cs
//
// Author: Duncan Mak (duncan@ximian.com)
//
// (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;
}
}
}
|