Hi Jonathan,

Most XSLT users process data server-side and then send the result of the 
transformation to the client. This is a safer approach than sending XML and 
XSLT to the client.

XSLT is a wonderful technology. A while back we did some XML and XSLT training 
for the Canadian government. For those that want a hands on approach to 
learning XSLT, here are a few labs. Lab 4 lets you practice XPath and Lab 5 
lets you practice XSLT. Here is the link:

http://belus.com/training/

Also, Jonathan, I had a look at your XSLT. You can optimize it a bit if you 
replace several <xsl:if> with <xsl:for-each> or <xsl:template>.

Regards,
-Vlad
http://xstandard.com
XStandard Development Team



----- Original Message -----
From: "Jonathan T. Sage" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 2004 1:43 PM
Subject: [WSG] Experimentations in XSLT


> Good afternoon <or insert more appropriate time of day>
>
> Recently, after the pursuit of a site that does conform to XHTML 1.1
> and CSS2, I became very interested in the XSL/XSLT language, since my
> site has a XML CMS back end already.  I began to look at ways to cut
> out the PHP step.  My experimentations have proved to be very
> interesting, with 2 caveats:
>
> 1.) Obviously 2 pass processing doesn't work.  Catching PHP embedded
> in the source XML becomes impossible.  At this time, I don't have a
> fix for this.
>
> 2.) Firefox (in fact all gecko based browsers) do not support my
> method of embedding HTML in XML...  results are interesting, but
> expected.  Opera doesn't like this method at all, and IE6 displays
> perfectly.
>
> Since this list is standards based, and I've yet to see any real
> writeup about XSLT and what it is capable of, I figured a would share
> what I found with all of you.  More information about what I did is
> available here:
>
> http://jtsage.com/apathy/archives/2004/12/08/xslt-part-1/
>
> and here:
>
> http://jtsage.com/apathy/archives/2004/12/09/xslt-part-2/
>
> If anyone has any information on how to fix #2, I'd also love to hear
> it.  Hope this proves to be a good read!
>
> ~j
>
> --
> Jonathan T. Sage
> Theatrical Lighting / Set Designer
> Professional Web Design
>
> [HTTP://www.JTSage.com]
> [HTTP://design.JTSage.com]
> [EMAIL PROTECTED]
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
>
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> ******************************************************
>
>

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to