Hi All, I want to count the total number of specific nodes between root node and current node. for Example: <pre lang="text"><w:body xmlns:w="#unknown"> <!-- root Node --> <w:p /> <w:rect> <w:p>some text1</w:p> </w:rect> <w:p /> <w:rect> <w:p>some text2</w:p> </w:rect> <w:p /> <w:p /> <w:p /> <w:rect> <w:p>some text5</w:p> <!-- This is current node now --> </w:rect> <w:p /> <w:p /> <w:p /> <w:p /> </w:body>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)