[
Lists Home |
Date Index |
Thread Index
]
Kanchana D S (RBIN/DCA-TSG) * wrote:
> Can XSLT be used for desktop applications? If so, how ? We have the requirement to design the GUI for a desktop application using XSLT. The help for developing non-web based applications (WinForms in the .NET environment)using xslt seems to be very little. That is, is it possible to generate the user interface for a WinForms application using XSLT?
With certain engineering styles, XSLT can be used as part
of the implementation of any application - including desktop
GUIs. [That's not to say that it should be, only that it is
possible]
Scripting languages tend to lend themselves to this style
of engineering, due to their runtime evaluation.
The idea is that one uses scripting to set up a transformation,
and the stylesheet generates a new script (as a text output)
that is then evaluated.
So far in practice I have found that this significantly
reduces the amount of DOM programming required (which I find
an interesting result). The stylesheet operates upon the
data in XML documents (particularly configuration data)
and then the (generated) script operates upon the UI.
This can lead to a nice separation of responsibility.
The particular scripting language I'm using is Tcl/Tk,
but the same techniques apply to Python and Perl/Tk.
HTHs,
Steve Ball
--
Steve Ball | XSLT Standard Library | Training & Seminars
Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas
http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development
Steve.Ball@zveno.com +---------------------------+---------------------
Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099
|