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

RE: XSL vs. XSLT, different syntax?

Subject: RE: XSL vs. XSLT, different syntax?
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Wed, 13 Sep 2000 14:43:09 +0100
xsl xslt different
This is explained in the documentation
mk:@MSITStore:C:\Program%20Files\Microsoft%20XML%20Parser%20SDK\Docs\xmlsdk3
0.chm::/htm/xmrefmsxslscriptelement.htm

or look at "script element" in the index.
but what you are wanting to do can be done in xslt without resorting to
script
it is in the FAQ somewhere and there is a demo in my tutorial section.

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Yenhooi Tan
>Sent: 13 September 2000 14:05
>To: XSL-List@xxxxxxxxxxxxxxxx
>Subject: Re: XSL vs. XSLT, different syntax?
>
>
>Hi Mike Brown and all:
>
>I did according to what you said here and downloaded the MSXML Parser Beta
>Release, July 2000  from msdn. and so instead of using the
>following processor:
>
><xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
>
>I tried to use this one.
><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
>The result is that when the browser encounters the following part,
>it stops
>showing my XML
>-> HTML accordingly. The old one works fine.
>
>function even(e) { return childNumber(e) % 2; } function
>whichColor(e) { if
>(even(e)) return "yellow"; else return "white"; } function
>selectedColor(e)
>{ if (even(e)) return "#bbddbb"; else return "#dddddd"; }
>
>Can someone tell me what's wrong.
>
>Thanks
>
>Yenhooi
>
>--------------------------------------------------------------------
>
>Xiaocun wrote:
>
> > 1. I am converting a invoice-like XML into HTML, should I use
>XSL or XSLT?
> > 2. In general, when to use XSL and when to use XSLT?
>
>The only reason you should use the version of XSL supported by the MSXML 1
>parser/processor that comes with IE5 is if you have a requirement to
>support that specific environment. It is a dead language and will not be
>supported in anything else. You can download an updated version of MSXML
>(3 I believe is the current release) from msdn.microsoft.com and then run
>'xmlinst' to merge it into IE5, if you want to support most of XSLT in the
>browser.
>
>You may find that until MSXML is completed and a new version of IE is
>released with it installed, XML-> HTML transformations are better
>accomplished with server-side, command-line XSLT processors that fully
>implement the XPath and XSLT specs. I recommend you try Instant Saxon.
>
>
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.