[XML-SIG] New stuff on w3.org
Paul Prescod
paulp@ActiveState.com
Fri, 22 Dec 2000 16:13:27 -0800
Alexandre Fayolle wrote:
>
> Since I believe not everybody on this list monitors the W3C website
> closely (I, for one, do not), ...
> On Dec. 19th, XHTML Basic bacame a Recommentation.
> On Dec. 20th, XLink and XML Base became Proposed Recommentations.
An even more interesting development is that a draft version of XSLT now
has a formal mechanism for embedding other scripting languages. An
example is at the bottom
http://www.w3.org/TR/xslt11
Paul Prescod
<xsl:script implements-prefix="date"
language="ecmascript"
src="DateRoutines.js"/>
<xsl:script implements-prefix="util"
language="ecmascript">
function upper(n) {
return n.toUpperCase();
}
function lower(n) {
return n.toLowerCase();
}
function iff(arg1, arg2, arg3) {
if (arg1) {
return arg2;
}
else {
return arg3;
}
}
</xsl:script>