Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XmlNode : Replace Node

Status
Not open for further replies.

gammagamma

Programmer
Sep 1, 2004
1
US
Hi

Can I replace a node in a XmlNode using a XPath expression (where the "to-be-replaced" node is @ XPath) without any other modification to the XmlNode?

Please help.

Thanks a bunch!!
Gamma
 
The XPath would just return you a node or list of nodes. It wouldn't actually do the replacement -- you'd have to write code afterwards to do that. It's purpose is just to locate stuff in your document.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top