I cannot get the replaceTemplateVariableByHTML method to recognize my style sheet. In particular table borders do not appear. If I use addHTML to insert in a doc, it works fine. But the styles don't appear with replaceTemplateVariableByHTML. Are there restrictions with replaceTemplateVariableByHTML. I have a project that needs to use this method. Thanks for your help.