This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Converting a string to a node and changing the scope
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 12 Jun 2002 16:52:01 +0100
- Subject: RE: [xsl] Converting a string to a node and changing the scope
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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