This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XSL vs. XSLT, different syntax?


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.


> 3. are the syntax similar just the names (such as value-of) changed?

There are significant differences.


> 4. where can I find an online tutorial on XSLT?

learn by example:
http://www.zvon.org/ZvonHTML/Zvon/zvonTutorials_en.html

read a terse but thorough tutorial:
http://www.cranesoftwrights.com/training/#ptux-dl

read a verbose but short tutorial:
http://metalab.unc.edu/xml/books/bible/updates/14.html

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]