--- In [email protected], "oneworld95" <[EMAIL PROTECTED]> wrote: > > Can XSL be used to tell Flex how to display XML data? I've got an XML > help file that I'd like to display in a popup window in Flex without > having to fetch each element; I'd like to just dump the contents into > a Flex control and have it automatically apply styles to it. Thanks. >
Yes, you can use XSL, but it is external to Flex. I created a custom TextArea component for displaying help text. It has a URL parameter that loads the text. The URL can be for a file that contains the text and html tags. Or it can be to a servlet which transforms the help xml using a xsl stylesheet and returns the final help text in a consistent format. /Paul

