1. A method of providing a user interface (UI) comprising: rendering a DHTML document from an XML document using a crystal, the crystal containing one or more behaviors and at least one XSLT transformation (XSL-T); presenting a user interface based, at least in part, on the XSL-T that was used to render the DHTML document; receiving, via the user interface, user interactions with the DHTML document; and mapping, via the one or more behaviors, the user interactions to the XML document.