homeGeek CultureWebstoreeCards!Forums!Joy of Tech!AY2K!webcam

The Geek Culture Forums


Post New Topic  New Poll  Post A Reply
my profile | directory login | | search | faq | forum home
  next oldest topic   next newest topic
» The Geek Culture Forums   » Other Geeky Stuff   » Ask a Geek!   » XML + XSL???

 - UBBFriend: Email this page to someone!    
Author Topic: XML + XSL???
Chris Garrett
Single Celled Newbie
Member # 2752

Rate Member
Icon 1 posted June 01, 2004 12:48      Profile for Chris Garrett   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
I was just wondering if anyone knew how I would go about formatting XML with XSL rather than using a Server Side like PHP???

--------------------
Chris Garrett // XHTML and CSS based Design

Posts: 3 | From: Behind You!!! | Registered: Jun 2004  |  IP: Logged
dragonman97

SuperFan!
Member # 780

Member Rated:
4
Icon 1 posted June 01, 2004 14:10      Profile for dragonman97   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
By:
A. Buying an O'Reilly book or three.
B. Using Google to research the matter.
C. Dropping a .sig like that when asking about matters like these.

--------------------
There are three things you can be sure of in life: Death, taxes, and reading about fake illnesses online...

Posts: 9331 | From: Westchester County, New York | Registered: May 2001  |  IP: Logged
quantumfluff
BlabberMouth, a Blabber Odyssey
Member # 450

Member Rated:
5
Icon 1 posted June 01, 2004 20:18      Profile for quantumfluff     Send New Private Message       Edit/Delete Post   Reply With Quote 
In theory you should just have your web server return a well formatted XML document that points to an XSL document which describes how to turn it into HTML. A compliant browser does the right thing.

In practice, it never works, because browsers are all over the map in XML handling. I always do it server side. There are a bunch of XSL processors available in any implementation language you want. As Dman said, try google.

Posts: 2901 | From: 5 to 15 meters above sea level | Registered: Jun 2000  |  IP: Logged
Chris Garrett
Single Celled Newbie
Member # 2752

Rate Member
Icon 1 posted June 02, 2004 01:44      Profile for Chris Garrett   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Quantumfluff, I think your right, and I will ultimately be forced to use a server side for the sake of accessibility. Just thought it would quite useful to format my RSS feeds, etc.
Posts: 3 | From: Behind You!!! | Registered: Jun 2004  |  IP: Logged
Super Flippy

SuperFan!
Member # 1101

Member Rated:
5
Icon 1 posted June 02, 2004 13:22      Profile for Super Flippy   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
I actually did this for a big project a few years back. The web site pages were .asp's and the asp back-end did the necessary combining of XML and XSLT so the user's browser didn't have to.

It's really fun stuff. I recommend looking through this presentation for an idea of what XSL can do. There's no reason not to make a few XML pages solely for your own reference.

Posts: 337 | From: South Carolina | Registered: Jan 2002  |  IP: Logged
Chris Garrett
Single Celled Newbie
Member # 2752

Rate Member
Icon 1 posted June 04, 2004 12:06      Profile for Chris Garrett   Author's Homepage     Send New Private Message       Edit/Delete Post   Reply With Quote 
Super Flippy, thanks for the great link-up, there's some great stuff there.
Posts: 3 | From: Behind You!!! | Registered: Jun 2004  |  IP: Logged


All times are Eastern Time  
Post New Topic  New Poll  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

Contact Us | Geek Culture Home Page

2015 Geek Culture

Powered by Infopop Corporation
UBB.classicTM 6.4.0



homeGeek CultureWebstoreeCards!Forums!Joy of Tech!AY2K!webcam