CSharp examples for System.Xml:XML Attribute
Get Attribute Value As QName from XmlReader
// The .NET Foundation licenses this file to you under the MIT license. using System.Xml; using System.Text; public class Main{ internal static XmlQualifiedName GetAttributeValueAsQName(XmlReader reader, string attributeName) {/* w ww .j av a 2 s . co m*/ string qname = reader.GetAttribute(attributeName); if (qname == null) { return null; } return GetValueAsQName(reader, qname); } }