how to copy attribute XML node to specified structure or array
- by jozi
how to copy attribute  XML node to specified  structure  or array with one command 
 for example 
    public struct PossibilityJavamed
    {
        public string derv;
        public string dervt;
        public string num;
        public string gend;
    }
PossibilityJavamed tmpstructnew = tmpstruct;
ArrayList alstout = new ArrayList();
XmlNodeList nodeList;
nodeList = docHarf.SelectNodes("//adatesmi");
            for (int i = 0; i < nodeList.Count; i++)
            {
                    tmpstructnew.derv = nodeList[i].Attributes["derv"].Value;
                    tmpstructnew.dervt = nodeList[i].Attributes["dervt"].Value;
                    tmpstructnew.num = nodeList[i].Attributes["num"].Value;
                    tmpstructnew.gend = nodeList[i].Attributes["gend"].Value;
                    alstout.Add(tmpstructnew);
            }
but i will do it in one command