Ejemplo n.º 1
0
 private void assignIssueIdToFinding(XMLSPYPLUGINLib.AuthenticRange xspyElementToEdit)
 {
     object pElementNames = null;
     axAuthentic1.AuthenticView.WholeDocument.Select();
     axAuthentic1.AuthenticView.Selection.GetElementHierarchy(ref pElementNames);
 }
Ejemplo n.º 2
0
 static string getAttributeFromElement(XMLSPYPLUGINLib.XMLData xnDataToSearch, string strAttributeName)
 {
     if (true == xnDataToSearch.HasChildren)
         for( int iChildId = 0; iChildId < xnDataToSearch.CountChildren(); iChildId++)
         {
             XMLSPYPLUGINLib.XMLData xdAttribute = xnDataToSearch.GetChild(iChildId);
             if (XMLSPYPLUGINLib.SPYXMLDataKind.spyXMLDataAttr ==  xdAttribute.kind)
                 if (strAttributeName == xdAttribute.Name)
                     return xdAttribute.TextValue;
         }
     return "";
 }