Typewriter Text Effect with XML

I am trying to use the typewriter text effect with text loaded externally from an xml file. It keeps returning ‘undefined.’ Does anyone know if it is possible to get this to work? If so, any suggestions?