The eventObj.Site does NOT return the entire XML Document for the form. For instance, if you drop this code into your OnBeforeChange event, review what will be returned.
XDocument.UI.Alert(eventObj.Site.xml)
It would return something like:
<CHILD>
<ID>1.1</ID>
<..>..<..>
</CHILD>
The father will not be returned in eventObj.Site. To get the father node for the child beind deleted, you will need to write an XPath statement against XDocument.DOM.selectSingleNode(...) to get the father.
Jason
http://www.k2distillery.com/