[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL in the AJAX world
On Tue, May 13, 2008 at 11:36 AM, Nick Fitzsimons <nick@xxxxxxxxxxxxxx> wrote: > On Tue, May 13, 2008 4:19 pm, Andrew Shooner wrote: > > I develop websites using the XSLT-based Symphony CMS, and another user > > shared a comment he received that XML/XSLT was 'so 1990's'. It was > > suggested to him to move on to JSON-based languages/technology. My > > response was that it has to end up as XML in the end, so there is at > > least some use for it. > > > > So my question is, are there many AJAX developers on this list, and if > > so, how frequently, and in what capacity, do you use XSL in building or > > customizing AJAX web applications? > > > > I use XSLT to allow the same content to be served as either XML, HTML or > JSON according to the client device's preference. Most JSON APIs offer > similar choices; how many use XSLT to achieve this goal is a different > question, but to my mind it's a perfect application of the technology. > Warcraft. I'm building an application similar to Nick's model; XML output from the application is matched with a device profile selecting an XSL1 template. Either the a processing instruction is merged in to the XML or it is transformed, depending on the client device's capabilities. In an Ajax envrivoment, JavaScript has access to the same transform engine that the browser does which I use to do apply transforms on the fly. If you want to see a really slick browser example with lots of modern eye-candy, check out Blizzard's home page for Worlds of Warcraft. -- - michael dykman - mdykman@xxxxxxxxx - All models are wrong. Some models are useful.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|