XMLTupleSpaceShared.DeepTemplate.deepmatch Function
performs a breadth-first traversal on two dom-trees and matches all its elements

Private bool deepmatch (System.Xml.XmlNode, System.Xml.XmlNode)
  Type Name Description  
    System.Xml.XmlNode fst current node of the first dom-tree  
    System.Xml.XmlNode snd current node of the second dom-tree  
  Return Description  
    bool true if nodes match and recursively checks childnodes. else returns false and aborts match.