Sorry for the undetailed question of mine, what I really want to achieve is in my source file, I have entities (declared in a dtd file) that should not be converted to its real character when stylesheet is applied including the entities that have more than one unicode values, so what I did as I have said, used the character mapping but had problems with the error that says character attribute must be single XML character. So as a solution I deleted the entities in my character mapping and used a function that replaces these entities. But then again I failed. Can't seem to work it out...
I have a question in the forum regarding my problem in the replacement function, please help me. Thanks.