Example #1
0
 public void Remove(XmlNodeAttribute xmlNode)
 {
     if (this.nodeList.Contains(xmlNode))
     {
         this.nodeList.Remove(xmlNode);
     }
 }
Example #2
0
 private string GetXpath(XmlNodeAttribute node)
 {
     //string xPath = "//" + node.Name;
     //if (node.HasAttributes)
     //{   //name[@aa="aa",@bb="bb"]
     //    xPath += "[";
     //    for (int i = 0; i < node.AttributeNames.Length; i++)
     //    {
     //        xPath += "@" + node.AttributeNames[i] + "=\"" + (i < node.AttributeValuess.Length ? node.AttributeValuess[i] : "") + "\",";
     //    }
     //    xPath = xPath.Substring(0,xPath.Length - 1) + "]";
     //}
     //return xPath;
     return("");
 }
Example #3
0
 public void Add(XmlNodeAttribute xmlNode)
 {
     this.nodeList.Add(xmlNode);
 }