public WriteQualifiedName ( string localName, string ns ) : void | ||
localName | string | |
ns | string | |
리턴 | void |
[Test] // bug #75546 public void WriteEmptyNSQNameInAttribute () { XmlTextWriter xtw = new XmlTextWriter (TextWriter.Null); xtw.WriteStartElement ("foo", "urn:goo"); xtw.WriteAttributeString ("xmlns:bar", "urn:bar"); xtw.WriteStartAttribute ("foo", ""); xtw.WriteQualifiedName ("n1", "urn:bar"); xtw.WriteEndAttribute (); xtw.WriteStartAttribute ("foo", ""); xtw.WriteQualifiedName ("n2", ""); xtw.WriteEndAttribute (); }