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]
Other format: [Raw text]

RE: Converting a string to a node and changing the scope


> 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@ntlworld.com
work: Michael.Kay@softwareag.com 


 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]