public XMLNode getNode(String s, LinkedList linkedlist, int i)
    {
        if(linkedlist == null)
            return null;
        for(ListIterator listiterator = linkedlist.listIterator(0); listiterator.hasNext();)
        {
            XMLNode xmlnode = (XMLNode)listiterator.next();
            if(xmlnode != null)
                switch(xmlnode.XMLType)
                {
                case 0: // '\0'
                case 1: // '\001'
                    if(xmlnode.XMLData.equals(s) && --i == 0)
                        return xmlnode;
                    break;
                }
        }

        return null;
    }