Getting parent table node type form current node position

Is there a way I can get a immediate parent node which is table type from the current node position using document builder?

Hi Yuvaraj,


Thanks for your inquiry. Sure, you can meet this requirement using Node.GetAncestor (NodeType) method. You can first get Node by using DocumentBuilder.CurrentNode property. Hope, this helps.

Best regards,