to_xml serialization with special characters

It appears thet some of my Model attributes have special
characters .. and they are not serialized (ex; url attribute or
email address attribute)

how can I avoid such problem ?

thanks

erwin