linq to xml - XDocument replace all node value with lower case -


i need make values within xdocument lower case. what's best way of doing this?

to clarify, want change text values, without specifying names of nodes.

you like:

doc.document    .descendantnodes()    .oftype<xtext>()    .tolist().foreach(x => x.value = x.value.tolower()); 

Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -