CSharp examples for System.Xml:XML Attribute
Get XmlAttribute Value
using System.Xml; using System.Web; using System.Linq; using System.Collections.Generic; using System;// w w w.ja v a 2 s .c om public class Main{ public static string GetValue(this XmlAttribute xAttr) { return xAttr != null ? xAttr.Value : ""; } }