[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: converting xsl-wd to xsl1, msxml script changes

Subject: RE: converting xsl-wd to xsl1, msxml script changes
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Thu, 13 Feb 2003 12:13:52 -0000
msxml script
> >Microsoft had a wd-xsl to xslt convertor written in(I think) 
> xslt at one
> >time, however as with all automatic conversion processes the 
> converted
> >xslts were less than optimal.
> 
> I tried that, the input file was 7k, the output file was over 80k and 
> consisted of mainly comments saying I had to rewrite it.. clever I 
> thought :)

In my experience the -only- way to convert from wd-xsl to xslt is to transform the source using the old stylesheets, and then write the xslt required for the new stylesheets from scratch.

Trying to figure out what the embedded jscript is doing, and then implementing that process in xslt will lead to problems - the languages will attack the same problem from very different angles.  The time spent deciphering ropey Jscript could be better spent designing the shiny new xslt based on the output required, and not on the old way of getting there.

cheers
andrew 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003
 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.