Subject: Re: [XSLT2] setting context inside funcdefs
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 14 Feb 2003 15:30:38 GMT
|
> Yep. What would be other examples (not using for-each)?
apply-templates would also effectively re-establish the context but in
that case the code that uses the context isn't explictitly in the
function body but rather in the template that gets applied.
so probably just xsl:for-each or within an xpath2 expression of the form
<xsl:value-of select="$callers_context-node/a/b/*[localname()....
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: [XSLT2] setting context inside funcdefs, (continued)
- Jeni Tennison - Fri, 14 Feb 2003 08:16:09 -0500 (EST)
- Tobias Reif - Fri, 14 Feb 2003 09:25:47 -0500 (EST)
- David Carlisle - Fri, 14 Feb 2003 09:47:54 -0500 (EST)
- Tobias Reif - Fri, 14 Feb 2003 10:04:15 -0500 (EST)
- David Carlisle - Fri, 14 Feb 2003 10:29:17 -0500 (EST) <=
- Tobias Reif - Fri, 14 Feb 2003 14:12:54 -0500 (EST)
- Jeni Tennison - Fri, 14 Feb 2003 09:49:23 -0500 (EST)
- Tobias Reif - Fri, 14 Feb 2003 10:02:45 -0500 (EST)
- Michael Kay - Sat, 15 Feb 2003 03:06:57 -0500 (EST)
|
|