Hi Experts,
Can anyone please tell me what is the code to remove the single space coming in the field value of a xml tag and supresssthe Tag.
Eg>Source Xml: <Name> <Name>
Target xml :<Name/>
I have written one but i donot know why it is not working.
For(int i = 0;i<var1.length();i++)
{
if(var1[i].trim.isEqual(""))
result.addValue(ResultLiss.SUPRESS);
else
result.addValue(var1[i]);
]
Could anyone tell me what shold be the exact one to validate space value .
Thanks,
Suparna Banerjee