Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Science and Art > Tech Help

 
 
Thread Tools Display Modes

 
Xslt
Reply
Posted 2007-10-22, 11:17 AM
I started using XSLT recently, and it's pretty crazy. XSLT is a client-side web templating system that allows you to send a web page as raw XML data and then the XSLT stylesheet converts it into the actual HTML web page. This means bandwidth savings, since the stylesheet only gets transfered once, then you just send the different data; you can use elements liberally since they aren't transfered in every page load. Beside that, XSLT is the most powerful templating language I've ever used. I can send XML data on a table format, then refer to it as I walk through the data to determine how to format the data, for example. You can sort data within the template system, so instead of doing a page load to sort, you can have the template run over the data one time for each way to sort it, then use JS to hide and show them according to how the user wants the data sorted, and you only had to send the data once. XSLT is supported by nearly all of the prominant web browsers.

Anyone else play with it any?
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2007-10-22, 11:48 AM in reply to WetWired's post "Xslt"
I never have, but I think I will. Sounds very interesting.

Is it only the stylesheet that is coded as an XML file?
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2007-10-22, 06:05 PM in reply to Lenny's post starting "I never have, but I think I will...."
I'm not sure I understand.
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2007-10-23, 04:41 AM in reply to WetWired's post starting "I'm not sure I understand."
Sorry, I'll try and make myself a bit clearer.

In fact, "How, exactly, does XSLT work?", is the simplest thing to ask.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2007-10-23, 07:22 AM in reply to Lenny's post starting "Sorry, I'll try and make myself a bit..."
You link in an XSLT stylesheet at the top of your XML document. The XSLT stylesheet defines a transformation that turns the XML document into an HTML document. If you go to w3schools.com, they have a pretty good introduction, though none of their stuff on anything goes into much depth.
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:25 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.