LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives

XML-L Archives

XML-L Archives


Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font


Join or Leave XML-L
Reply | Post New Message
Search Archives

Subject: Re: XSL and Scripting
From: "G. Ken Holman" <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Tue, 6 Jul 1999 08:31:24 -0700

text/plain (81 lines)

At 99/07/06 09:11 +0100, Mike Ball wrote:
>I am trying to get to grips with XSL transformations. I see that it is
>possible to include sections of scripting language (e.g. Javascript) within
>XSL by including them within a pair of <xsl:eval> tags.

Actually, <xsl:eval> is a construct in IE5's flavour of XSLT (XSL
Transformations), not the W3C flavour of XSLT.  The W3C flavour of XSLT has
an extension mechanism for scripting, though a stylesheet writer is advised
that including *any* scripting at all is non-portable, since an XSLT
processor is not obliged to implement any scripting, a stylesheet writer
should avoid resorting to it.

>Is it possible within these scripts to refer to the elements and attributes
>of the document you are transforming? If so - how do you do it?

There are many ways too numerous to answer in a simple email ... the best
answer is to look at the latest recommendation and choose some material to

The latest recommendation is at:

We have a number of XSL resources (non-commercial) and XSL teaching
materials (commercial) on our website (through the trailer below).  The
commercial publication "Introduction to XSL Transformations" is 200 pages
(so far) and all future updates are made freely available to those who
purchase a copy (thus extending your investment).

If you aren't interested in commercial materials, there is also:


W3C Examples:

IE5 Examples: (same as above)

The above is not included in the set of resources listed on the reference
sites for each (I'm not sure what the criteria is for getting listed on the
W3C site, perhaps membership in W3C is required):

You will also find a wealth of examples (articles, papers, samples) at: (considered the best by many)

When considering materials, be sure to establish which version of the
working draft is being refered to in each source ... not all resources are
up to date with the April 21 release of W3C XSL or the IE5 release of MSXSL.

There is also a mailling list for XSL you may wish to monitor:

It would be more appropriate to send queries to that list than to this list.

I hope this helps.

.......... Ken

G. Ken Holman                    mailto:[log in to unmask]
Crane Softwrights Ltd.   
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999   (Fax:-0995)
Website:  XSL/XML/DSSSL/SGML services, training, libraries, products.
Publications:   Introduction to XSLT (3rd Edition) ISBN 1-894049-00-4
Next instructor-led training:   MS'99 1999-08-16  MT'99 1999-12-05/06

Back to: Top of Message | Previous Page | Main XML-L Page



CataList Email List Search Powered by the LISTSERV Email List Manager