Thanks MFaus, but i have the same problem.
with
var idx = eventObj.Parent.selectSingleNode("@idavance");
XDocument.UI.Alert(idx.text);--> Error:Object required.
Why idx is null?
Thanks for the link to learn XPath, i take the course.
Fred Darwin Villareal