Re: old XSL -> New XSL

Subject: Re: old XSL -> New XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 1 Sep 1999 16:02:15 +0100 (BST)
> The ones I have are, roughly
> 
>  from-  => ::
>  children => child
>  ancestors => ancestor
>  qname() => name()
> 
> Any more offers?

all axes are affected the same way, not just children & ancestor
so the most common things to fix are

from-plural(stuff)   to singular::stuff
qname ()                name()
expr attribute          select
param-variable          param
param                   with-param

But as others have commented, appendices of the xslt and xpath drafts
give a more full account. (Make sure you do those last two
transformations in the correct order, last time I forgot and changed
param-variable to param first, which wasn't a brilliant plan:-)


David


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


Current Thread