currently I am using regular expressions to replace all the tags .... I read someone has created CDATA class but couldn't find the source. It must be affecting output classes.... imran