RE: [xsl] Converting a string to a node and changing the scope

Subject: RE: [xsl] Converting a string to a node and changing the scope
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 12 Jun 2002 16:52:01 +0100
> 1) I am passing a string as a parameter into a template.  Can 
> I treat the 
> string as if it were a reference to a node. e.g.

Only if your processor offers the xx:evaluate() extension. (Saxon and
Xalan do).
> 
> 2) I realise that xsl:for-each will change the current scope. 
>  However, if I 
> wanted to call a template, but in a different scope, is there 
> a proper way 
> of changing the scope?

xsl;for-each is the proper way.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread