xml - I am trying to retrieve the text between Nodes but it is returning all child nodes too. -
<inspection> <certificate> retrieve text <status>active</status> </certificate> </inspection> i using:
foreach (xmlnode node in nodes) { array = node.selectsinglenode("certificate").innertext; } it returns:
retrieve text <status>active</status> i need "retrieve text only"
i don't know language using xpath required want this:
//certificate/child::text()
Comments
Post a Comment