Dynamic Text & XML: Detecting amount of text

When using dynamic text, and loading in text from an xml. How do you get the Dynamic text box to automatically adjust (height) to the length of the text?