This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Axis problem
- To: xsl-list at mulberrytech dot com
- Subject: Re: Axis problem
- From: Gary L Peskin <garyp at firstech dot com>
- Date: Thu, 07 Sep 2000 08:02:05 -0700
- Organization: The Firstech Corporation
- References: <39B77319.C8C58AB@propack-data.com>
- Reply-To: xsl-list at mulberrytech dot com
Juergen Baier wrote:
>
> Hi,
>
> I'm a XSLT beginner and I recently run into a problem.
Juergen --
It's a little difficult to tell what you're talking about without
specific examples of XXXXXX. However, remember that value-of select
XPath Expressions are evaluated with respect to a context. In your
case, that context is supplied by the enclosing for-each element.
The instantiation/execution of the choose element (which is the template
body of the for-each) is done once for each node satisfying in your
for-each select node-set. All sub-elements of the choose element
operate within that context.
Your "someClass name:" value-of select expression does not change the
context which is used for evaluating the rest of the elements since that
context was set by the enclosing for-each.
HTH,
Gary
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list