Question:
The issue is I am able to get “securityContent” element using below code and node holds total count of child elements that is 4:
Below is sample code that I’ve tried but not working:
Answer:
ThebodyContent
node has a default namespace which applies to it and all its children.You need to add it to the
NamespaceManager
and then use it in the XPathIf you have better answer, please add a comment about this, thank you!