I'm generating my own XML without using the XML functions of RunRev (it's faster and I can format exactly how I want it to look). But I would like a function for cleaning the text for "&" to & and that kind of thing. Any suggestions for such a function? There must be one in RunRev that the XML library uses. Thanks, Bill