Applying the Data Masking security policy
Use the Data Masking security policy to replace sensitive data by a string of characters, instead of completely removing it from the output.
Note: If you mask parent nodes that contain child elements, those child elements are removed from the output.