C
C# newbie
Hello group,
When I run an XPATH query first as:
//*[contains(translate(.,\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\",
\"abcdefghijklmnopqrstuvwxyz\")
Then within a loop like:
foreach(XmlNode xnode in node.SelectNodes(s))
{
}
The program tries to find/locate the innetText of the node, which contains
the information user, has entered. The problem is the program considers a
huge block of xml body; as innertext at first stage and as the process goes
on (in loop) the innetText gets smaller and smaller and finally it returns
the word or string which base on that the query is submitted. I'm trying to
replace located string with a new string but don't know how to find out
which node is representing the one which should be replaced. Or which
InnerText is the one which, should be replaced.
Any suggestions?
Thanks
When I run an XPATH query first as:
//*[contains(translate(.,\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\",
\"abcdefghijklmnopqrstuvwxyz\")
Then within a loop like:
foreach(XmlNode xnode in node.SelectNodes(s))
{
}
The program tries to find/locate the innetText of the node, which contains
the information user, has entered. The problem is the program considers a
huge block of xml body; as innertext at first stage and as the process goes
on (in loop) the innetText gets smaller and smaller and finally it returns
the word or string which base on that the query is submitted. I'm trying to
replace located string with a new string but don't know how to find out
which node is representing the one which should be replaced. Or which
InnerText is the one which, should be replaced.
Any suggestions?
Thanks