RE: [xsl] Converting wd-XSL to XSLT

Subject: RE: [xsl] Converting wd-XSL to XSLT
From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx>
Date: Wed, 9 Feb 2005 17:36:34 -0600
Hi Jim,

Well, you're in bad luck, according to this thread:
where Andrew tells about his experience and advices to do it manually, after
having produced the desired output using the old stylesheets (then you know
to where you should be coding). I guess that may be the best way to go.

The only postive side of the story is that you're going to be learning XSLT,
and not the outdated (Working Draft-) WD-XSL, which was erronously
implemented by Microsoft in final products, a thing they won't do so quickly
anymore I think...

Anyway, people have done it manually, so give it a go. Although there should
be, I can't find anything that points to a list of TODO things when entering
this type of process.

Good luck!

-----Original Message-----
From: Jim Smith [mailto:jimsmith0@xxxxxxxxx] 
Sent: Wednesday, February 09, 2005 4:59 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Converting wd-XSL to XSLT

I've recently begun a job that will require me to get the hang of XSL, so
I'm still a bit over my head.

I'm working with an online database which allows clients to get information
from tables in XML, and then create custom views with XSL.
 Before I was brought on, my co-workers, discovered a cache of XSL
stylesheets provided by database, and we've been tweaking those files to
suit our purposes.

The problem is that I've come to learn that all of these stylesheets are in
wd-XSL, which I presume is the reason they won't work in Mozilla or Firefox.
I'd like to convert them, but I don't know how. 
I've determined that the <xsl:eval> and <xsl:script> tags are outdated, but
I don't know what to replace them with.  I began to give in to writing all
future stylesheets in wd-XSL, but I quickly realized that a lot of the code
I've been learning from my XSLT books isn't going to be
backwards-compatible.  So it's looking like I only know enough about each
version to get nothing done with either of them.

I learned about a program for converting wd-XSL to XSLT, but the resulting
code didn't make a lot of sense.  I'd much rather learn how to convert from
one to the other by hand, so that I can get a feel for the differences
between them.  Can anyone help me?

Jim Smith

Current Thread