Attempting to replace the contents of a node, but not having much luck..
I need to look at my Keywords node, if it has the word 'test,' in it then replace it with ""
Essentially I'm trying to delete one of the keywords - they will always have a comma after each word as well.
So I'm trying to say in code: For any elements that is in the department Claims, get the Keywords & if it contains the string 'test,' replace it with nothing.
My elements look like this:
<Index>
<Document>
<FriendlyName>Label</FriendlyName>
<ID>c1490272-1a49-4426-94fc-fb6cacb56ecc</ID>
<Post>True</Post>
<Department>Claims</Department>
<Category>BigTest</Category>
<Audience></Audience>
<Link Type="Page" Target=""><![CDATA[]]></Link>
<Keywords>test5,test,square,</Keywords>
</Document>
..additional elements just like this one..
</Index>
My code like this:
&nb
View Complete Post