hi team, i am trying around an issue where i have different text coming up based on conditions i put in my code , the text comes up as xml in my code
from the text i need to check if a specific property exists if yes i need to replace that specific property and other properties of the xml string
example string i am trying now being
if condition=product details
Product Details
Type : 50
Limit: 1500.00
Cash Limit:
Cash Advance: 1000
PIN code: Y
my requirement is if Type is 50 then i should hide cash limit and pin access properties
if type is other than 50 i should display
can someone guide me on this, i could not use replace for this as above text varies based on condition, above scenario condition is product details, if condition is other than product details then above xml will vary hence i could not use replace option in c#.
could some one guide me the best way to do this