Re: [xsl] Context in nested loop

Subject: Re: [xsl] Context in nested loop
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jul 2017 14:18:39 -0000
On 28.07.2017 16:11, Joseph L. Casale jcasale@xxxxxxxxxxxxxxxxx wrote:
I am unclear with the correct syntax for the corresponding context of the $name and $attr
variables in the following repro. For $name, mailto:../@name is what I want, but I know that is
incorrect and for $attr, "." gets the value and not the name. This is similar to a question I
had a few days ago, yet in this case I am still unable to figure it out. Does a way exist to avoid
the variables?

<xsl:variable name="document" select="document('file.xml')" />

I think you need to show that second document too, together with the result you get and the one you want.

Current Thread