public int XmlLang_1()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("Root");
w.WriteStartElement("node", null);
w.WriteAttributeString("xml", "lang", null, "en");
CError.Compare(w.XmlLang, "en", "Error");
w.WriteEndElement();
w.WriteEndElement();
}
return TEST_PASS;
}