[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT for desktop applications


xsl in winforms
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@z...  +---------------------------+---------------------
Ph. +61 2 6242 4099   |   Mobile (0413) 594 462   | Fax +61 2 6242 4099


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.